git.iko.soy/typeable/nixpkgs
on master help sign in
ocamlPackages.cooltt: init at unstable-2021-05-25
commit4a34590eced7ec7aadf4a64105d7a88125919738 authorfortuneteller2k <lythe1107@gmail.com> dateThu 27 May 2021, 20:10 (5 years ago) parent4df3175
2 files changed+49
pkgs/development/ocaml-modules/cooltt/default.nix+47 pkgs/top-level/ocaml-packages.nix+2
pkgs/development/ocaml-modules/cooltt/default.nixnew file+47
@@ -0,0 +1,47 @@
1+{ lib
2+, fetchFromGitHub
3+, buildDunePackage
4+, cmdliner
5+, menhir
6+, menhirLib
7+, ppx_deriving
8+, ppxlib
9+, uuseg
10+, uutf
11+}:
12+
13+buildDunePackage {
14+ pname = "cooltt";
15+ version = "unstable-2021-05-25";
16+
17+ minimumOCamlVersion = "4.10";
18+
19+ useDune2 = true;
20+
21+ src = fetchFromGitHub {
22+ owner = "RedPRL";
23+ repo = "cooltt";
24+ rev = "8ac06cbf7e05417d777f3ac6a471fe3576249f79";
25+ sha256 = "sha256-JBLNJaRuP/gwlg8RS3cpOpzxChOVKfmFulf5HKhhHh4=";
26+ };
27+
28+ nativeBuildInputs = [
29+ cmdliner
30+ menhir
31+ ppxlib
32+ ];
33+
34+ propagatedBuildInputs = [
35+ menhirLib
36+ ppx_deriving
37+ uuseg
38+ uutf
39+ ];
40+
41+ meta = with lib; {
42+ homepage = "https://github.com/RedPRL/cooltt";
43+ description = "A cool implementation of normalization by evaluation (nbe) & elaboration for Cartesian cubical type theory";
44+ license = licenses.asl20;
45+ maintainers = with maintainers; [ fortuneteller2k ];
46+ };
47+}
pkgs/top-level/ocaml-packages.nix+2
@@ -191,6 +191,8 @@ let
191191
192192 containers-data = callPackage ../development/ocaml-modules/containers/data.nix { };
193193
194+ cooltt = callPackage ../development/ocaml-modules/cooltt { };
195+
194196 cow = callPackage ../development/ocaml-modules/cow { };
195197
196198 cpdf = callPackage ../development/ocaml-modules/cpdf { };