about summary refs log tree commit diff
path: root/third_party/lisp/local-time.nix
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@google.com>2020-01-22T00·50+0000
committerVincent Ambo <tazjin@google.com>2020-01-22T00·50+0000
commite25916d10c1c81f568f1a413e8b24704e9a81996 (patch)
tree4be3761bee5562eebddab2000e322e790911d836 /third_party/lisp/local-time.nix
parent437efa7686f62c88f6b377a255715fa0c28ed2c7 (diff)
feat(third_party/lisp): Check in dependencies of gemma r/439
Diffstat (limited to 'third_party/lisp/local-time.nix')
-rw-r--r--third_party/lisp/local-time.nix18
1 files changed, 18 insertions, 0 deletions
diff --git a/third_party/lisp/local-time.nix b/third_party/lisp/local-time.nix
new file mode 100644
index 000000000000..6f501a5fe9be
--- /dev/null
+++ b/third_party/lisp/local-time.nix
@@ -0,0 +1,18 @@
+# Library for manipulating dates & times
+{ pkgs, ... }:
+
+let src = pkgs.third_party.fetchFromGitHub {
+  owner = "dlowe-net";
+  repo = "local-time";
+  rev = "dc54f61415c76ee755a6f69d4154a3a282f2789f";
+  sha256 = "1l9v07ghx7g9p2gp003fki4j8bsa1w2gbm40qc41i94mdzikc0ry";
+};
+in pkgs.nix.buildLisp.library {
+  name = "local-time";
+  deps = [ pkgs.third_party.lisp.cl-fad ];
+
+  srcs = [
+    "${src}/src/package.lisp"
+    "${src}/src/local-time.lisp"
+  ];
+}