2021-06-06 07:54:09 +00:00
|
|
|
{ lib
|
|
|
|
, fetchFromGitHub
|
2022-06-16 17:23:12 +00:00
|
|
|
, fetchurl
|
2021-06-06 07:54:09 +00:00
|
|
|
, buildDunePackage
|
2022-06-16 17:23:12 +00:00
|
|
|
, bwd
|
2022-09-22 12:36:57 +00:00
|
|
|
, cmdliner
|
2022-06-16 17:23:12 +00:00
|
|
|
, containers
|
|
|
|
, ezjsonm
|
2021-06-06 07:54:09 +00:00
|
|
|
, menhir
|
|
|
|
, menhirLib
|
|
|
|
, ppx_deriving
|
|
|
|
, ppxlib
|
|
|
|
, uuseg
|
|
|
|
, uutf
|
2022-06-16 17:23:12 +00:00
|
|
|
, yuujinchou
|
2021-06-06 07:54:09 +00:00
|
|
|
}:
|
|
|
|
|
2022-06-16 17:23:12 +00:00
|
|
|
let
|
|
|
|
bantorra = buildDunePackage rec {
|
|
|
|
pname = "bantorra";
|
|
|
|
version = "unstable-2022-04-20";
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "RedPRL";
|
|
|
|
repo = "bantorra";
|
|
|
|
rev = "1e78633d9a2ef7104552a24585bb8bea36d4117b";
|
|
|
|
sha256 = "sha256:15v1cggm7awp11iwl3lzpaar91jzivhdxggp5mr48gd28kfipzk2";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ ezjsonm ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Extensible Library Management and Path Resolution";
|
|
|
|
homepage = "https://github.com/RedPRL/bantorra";
|
|
|
|
license = lib.licenses.asl20;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
kado = buildDunePackage rec {
|
|
|
|
pname = "kado";
|
|
|
|
version = "unstable-2022-04-30";
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "RedPRL";
|
|
|
|
repo = "kado";
|
|
|
|
rev = "8dce50e7d759d482b82565090e550d3860d64729";
|
|
|
|
sha256 = "sha256:1xb754fha4s0bgjfqjxzqljvalmkfdwdn5y4ycsp51wiah235bsy";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ bwd ];
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Cofibrations in Cartecian Cubical Type Theory";
|
|
|
|
homepage = "https://github.com/RedPRL/kado";
|
|
|
|
license = lib.licenses.asl20;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
in
|
|
|
|
|
2021-06-06 07:54:09 +00:00
|
|
|
buildDunePackage {
|
|
|
|
pname = "cooltt";
|
2022-06-16 17:23:12 +00:00
|
|
|
version = "unstable-2022-04-28";
|
2021-06-06 07:54:09 +00:00
|
|
|
|
2022-06-16 17:23:12 +00:00
|
|
|
minimalOCamlVersion = "4.13";
|
2021-06-06 07:54:09 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "RedPRL";
|
|
|
|
repo = "cooltt";
|
2022-06-16 17:23:12 +00:00
|
|
|
rev = "88511e10cb9e17286f585882dee334f3d8ace47c";
|
|
|
|
sha256 = "sha256:1n9bh86r2n9s3mm7ayfzwjbnjqcphpsf8yqnf4whd3yi930sqisw";
|
2021-06-06 07:54:09 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
2022-09-22 12:36:57 +00:00
|
|
|
cmdliner
|
2021-06-06 07:54:09 +00:00
|
|
|
menhir
|
|
|
|
ppxlib
|
|
|
|
];
|
|
|
|
|
2022-06-16 17:23:12 +00:00
|
|
|
buildInputs = [ containers ];
|
|
|
|
|
2021-06-06 07:54:09 +00:00
|
|
|
propagatedBuildInputs = [
|
2022-06-16 17:23:12 +00:00
|
|
|
bantorra
|
|
|
|
bwd
|
|
|
|
ezjsonm
|
|
|
|
kado
|
2021-06-06 07:54:09 +00:00
|
|
|
menhirLib
|
|
|
|
ppx_deriving
|
|
|
|
uuseg
|
|
|
|
uutf
|
2022-06-16 17:23:12 +00:00
|
|
|
yuujinchou
|
2021-06-06 07:54:09 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/RedPRL/cooltt";
|
|
|
|
description = "A cool implementation of normalization by evaluation (nbe) & elaboration for Cartesian cubical type theory";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ fortuneteller2k ];
|
|
|
|
};
|
|
|
|
}
|