catala/default.nix
2021-10-29 14:45:05 +02:00

64 lines
995 B
Nix

{ lib
, fetchFromGitHub
, buildDunePackage
, ansiterminal
, sedlex_2
, menhir
, unionfind
, bindlib
, cmdliner
, re
, zarith
, zarith_stubs_js
, ocamlgraph
, calendar
, visitors
, benchmark
, js_of_ocaml
, js_of_ocaml-ppx
, camomile
, cppo
}:
buildDunePackage rec {
pname = "catala";
version = "0.3.0";
minimumOCamlVersion = "4.08";
src = ./.;
useDune2 = true;
propagatedBuildInputs = [
ansiterminal
sedlex_2
menhir
cmdliner
re
zarith
zarith_stubs_js
ocamlgraph
calendar
visitors
benchmark
js_of_ocaml
js_of_ocaml-ppx
camomile
cppo
unionfind
bindlib
];
doCheck = true;
patches = [ ./.nix/no-web.patch ];
meta = with lib; {
homepage = "https://catala-lang.org";
description = "Catala is a domain-specific programming language designed for deriving correct-by-construction implementations from legislative texts.";
license = licenses.asl20;
maintainers = with maintainers; [ ];
};
}