about summary refs log tree commit diff
path: root/third_party/lisp/parse-float.nix
blob: 4e36e69c7d986b61646eba8781cba187da761ff2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ depot, pkgs, ... }:

let
  src = pkgs.fetchFromGitHub {
    owner = "soemraws";
    repo = "parse-float";
    rev = "3074765101e41222b6b624a66aaf1e6416379f9c";
    sha256 = "0jd2spawc3v8vzqf8ky4cngl45jm65fhkrdf20mf6dcbn3mzpkmr";
  };

in depot.nix.buildLisp.library {
  name = "parse-float";

  deps = with depot.third_party.lisp; [
    alexandria
  ];

  srcs = map (f: src + ("/" + f)) [
    "package.lisp"
    "parse-float.lisp"
  ];
}