depot/third_party/nixpkgs/pkgs/by-name/an/anders/package.nix

32 lines
639 B
Nix

{
lib,
fetchFromGitHub,
ocamlPackages,
}:
ocamlPackages.buildDunePackage rec {
pname = "anders";
version = "1.1.1";
duneVersion = "3";
src = fetchFromGitHub {
owner = "groupoid";
repo = "anders";
rev = version;
sha256 = "sha256-JUiZoo2rNLfgs94TlJqUNzul/7ODisCjSFAzhgSp1z4=";
};
strictDeps = true;
nativeBuildInputs = [ ocamlPackages.menhir ];
buildInputs = [ ocamlPackages.zarith ];
meta = with lib; {
description = "Modal Homotopy Type System";
mainProgram = "anders";
homepage = "https://homotopy.dev/";
license = licenses.isc;
maintainers = [ maintainers.suhr ];
};
}