File tree Expand file tree Collapse file tree 2 files changed +48
-0
lines changed
development/coq-modules/autosubst-ocaml Expand file tree Collapse file tree 2 files changed +48
-0
lines changed Original file line number Diff line number Diff line change 1+ {
2+ lib ,
3+ mkCoqDerivation ,
4+ coq ,
5+ version ? null ,
6+ } :
7+
8+ mkCoqDerivation {
9+ pname = "autosubst-ocaml" ;
10+ owner = "uds-psl" ;
11+
12+ release . "1.1+8.19" . sha256 = "sha256-AGbhw/6lg4GpDE6hZBhau9DLW7HVXa0UzGvJfSV8oHE=" ;
13+
14+ inherit version ;
15+ defaultVersion =
16+ with lib . versions ;
17+ lib . switch coq . coq-version [
18+ {
19+ case = isEq "8.19" ;
20+ out = "1.1+8.19" ;
21+ }
22+ ] null ;
23+
24+ buildInputs = with coq . ocamlPackages ; [
25+ angstrom
26+ ocamlgraph
27+ ppx_deriving
28+ ppxlib
29+ ] ;
30+ useDune = true ;
31+
32+ buildPhase = ''
33+ dune build
34+ '' ;
35+
36+ installPhase = ''
37+ dune install --prefix $out --libdir $OCAMLFIND_DESTDIR
38+ '' ;
39+
40+ meta = with lib ; {
41+ description = "An OCaml reimplementation of the Autosubst 2 code generator" ;
42+ homepage = "https://github.com/uds-psl/autosubst-ocaml" ;
43+ mainProgram = "autosubst" ;
44+ maintainers = with maintainers ; [ chen ] ;
45+ license = licenses . mit ;
46+ } ;
47+ }
Original file line number Diff line number Diff line change 2222 async-test = callPackage ../development/coq-modules/async-test { } ;
2323 atbr = callPackage ../development/coq-modules/atbr { } ;
2424 autosubst = callPackage ../development/coq-modules/autosubst { } ;
25+ autosubst-ocaml = callPackage ../development/coq-modules/autosubst-ocaml { } ;
2526 bbv = callPackage ../development/coq-modules/bbv { } ;
2627 bignums = if lib . versionAtLeast coq . coq-version "8.6"
2728 then callPackage ../development/coq-modules/bignums { }
You can’t perform that action at this time.
0 commit comments