about summary refs log tree commit diff
path: root/third_party/lisp/local-time.nix
blob: 6f501a5fe9be1ad697704b55f36e88fbfbc30a3c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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"
  ];
}