about summary refs log tree commit diff
path: root/third_party
diff options
context:
space:
mode:
authorVincent Ambo <Vincent Ambo>2020-01-10T00·27+0000
committerVincent Ambo <Vincent Ambo>2020-01-10T00·27+0000
commit98836812ebdfc6f6d01c23669939c2e24551e4ed (patch)
tree76d5410bb4e3c40873b28464b4a4d050eb501956 /third_party
parent09720e2da267c22f3e135c2cb3843a269c53a65b (diff)
feat(third_party/lisp): Add derivation for cl-ppcre r/366
Diffstat (limited to 'third_party')
-rw-r--r--third_party/lisp/cl-ppcre.nix30
1 files changed, 30 insertions, 0 deletions
diff --git a/third_party/lisp/cl-ppcre.nix b/third_party/lisp/cl-ppcre.nix
new file mode 100644
index 0000000000..5bf9240104
--- /dev/null
+++ b/third_party/lisp/cl-ppcre.nix
@@ -0,0 +1,30 @@
+# cl-ppcre is a Common Lisp regular expression library.
+{ pkgs, ... }:
+
+let src = builtins.fetchGit {
+  url = "https://github.com/edicl/cl-ppcre";
+  rev = "1ca0cd9ca0d161acd49c463d6cb5fff897596e2f";
+};
+in pkgs.nix.buildLisp.library {
+  name = "prove";
+
+  srcs = map (f: src + ("/" + f)) [
+    "packages.lisp"
+    "specials.lisp"
+    "util.lisp"
+    "errors.lisp"
+    "charset.lisp"
+    "charmap.lisp"
+    "chartest.lisp"
+    "lexer.lisp"
+    "parser.lisp"
+    "regex-class.lisp"
+    "regex-class-util.lisp"
+    "convert.lisp"
+    "optimize.lisp"
+    "closures.lisp"
+    "repetition-closures.lisp"
+    "scanner.lisp"
+    "api.lisp"
+  ];
+}