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