2019-12-23 01:45:12 +00:00
|
|
|
{ stdenv, fetchurl, buildDunePackage, alcotest, cmdliner
|
|
|
|
, rresult, astring, fmt, ocamlgraph, logs, bos, fpath, ptime
|
2017-03-17 02:37:38 +00:00
|
|
|
}:
|
|
|
|
|
2019-12-23 01:45:12 +00:00
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "functoria";
|
2020-05-20 23:47:05 +01:00
|
|
|
version = "3.1.0";
|
2017-04-28 17:13:54 +01:00
|
|
|
|
2019-12-23 01:45:12 +00:00
|
|
|
minimumOCamlVersion = "4.04";
|
2017-03-17 02:37:38 +00:00
|
|
|
|
2019-12-23 01:45:12 +00:00
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/mirage/${pname}/releases/download/v${version}/${pname}-v${version}.tbz";
|
2020-05-20 23:47:05 +01:00
|
|
|
sha256 = "15jdqdj1vfi0x9gjydrrnbwzwbzw34w1iir032jrji820xlblky2";
|
2019-12-23 01:45:12 +00:00
|
|
|
};
|
2017-03-17 02:37:38 +00:00
|
|
|
|
2019-12-23 01:45:12 +00:00
|
|
|
propagatedBuildInputs = [ cmdliner rresult astring fmt ocamlgraph logs bos fpath ptime ];
|
|
|
|
checkInputs = [ alcotest ];
|
2017-03-17 02:37:38 +00:00
|
|
|
|
2019-12-23 01:45:12 +00:00
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A DSL to organize functor applications";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/mirage/functoria";
|
2019-12-23 01:45:12 +00:00
|
|
|
license = licenses.isc;
|
|
|
|
maintainers = [ maintainers.vbgl ];
|
|
|
|
};
|
2017-03-17 02:37:38 +00:00
|
|
|
}
|