nixpkgs/pkgs/development/ocaml-modules/functoria/default.nix

28 lines
786 B
Nix
Raw Normal View History

2019-12-23 01:45:12 +00:00
{ stdenv, fetchurl, buildDunePackage, alcotest, cmdliner
, rresult, astring, fmt, ocamlgraph, logs, bos, fpath, ptime
}:
2019-12-23 01:45:12 +00:00
buildDunePackage rec {
pname = "functoria";
version = "3.0.3";
2019-12-23 01:45:12 +00:00
minimumOCamlVersion = "4.04";
2019-12-23 01:45:12 +00:00
src = fetchurl {
url = "https://github.com/mirage/${pname}/releases/download/v${version}/${pname}-v${version}.tbz";
sha256 = "08wv2890gz7ci1fa2b3z4cvqf98nqb09f89y08kcmnsirlbbzlfh";
};
2019-12-23 01:45:12 +00:00
propagatedBuildInputs = [ cmdliner rresult astring fmt ocamlgraph logs bos fpath ptime ];
checkInputs = [ alcotest ];
2019-12-23 01:45:12 +00:00
doCheck = true;
meta = with stdenv.lib; {
description = "A DSL to organize functor applications";
homepage = https://github.com/mirage/functoria;
license = licenses.isc;
maintainers = [ maintainers.vbgl ];
};
}