forked from OCamlPro/alt-ergo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
default.nix
47 lines (39 loc) · 833 Bytes
/
default.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
{ sources ? import ./nix/sources.nix
, pkgs ? import ./nix { inherit sources; }
}:
let
inherit (pkgs) lib ocamlPackages;
version = "dev";
src = lib.cleanSource ./.;
alt-ergo-lib = ocamlPackages.buildDunePackage rec {
pname = "alt-ergo-lib";
inherit version src;
minimalOCamlVersion = "4.08";
duneVersion = "3";
propagatedBuildInputs = with ocamlPackages; [
dune-build-info
zarith
ocplib-simplex
seq
stdlib-shims
fmt
ppx_blob
dolmen_loop
camlzip
ppx_deriving
];
};
alt-ergo = ocamlPackages.buildDunePackage {
pname = "alt-ergo";
inherit version src;
minimalOCamlVersion = "4.08";
duneVersion = "3";
buildInputs = (with ocamlPackages; [
cmdliner
dune-site
]);
};
in
{
alt-ergo = alt-ergo;
}