Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / ocaml-modules / functoria / default.nix
blob4f108320399755e97665e92c9c972394d52ba735
1 { lib, fetchurl, buildDunePackage, alcotest, cmdliner
2 , rresult, astring, fmt, ocamlgraph, logs, bos, fpath, ptime
3 }:
5 buildDunePackage rec {
6   pname   = "functoria";
7   version = "3.1.1";
9   useDune2 = true;
11   minimumOCamlVersion = "4.04";
13   src = fetchurl {
14     url = "https://github.com/mirage/${pname}/releases/download/v${version}/${pname}-v${version}.tbz";
15     sha256 = "0bihxbq16zwsi7frk4b8wz8993mvy2ym3n6288jhv0n0gb7c2f7m";
16   };
18   propagatedBuildInputs = [ cmdliner rresult astring fmt ocamlgraph logs bos fpath ptime ];
19   checkInputs = [ alcotest ];
21   doCheck = true;
23   meta = with lib; {
24     description = "A DSL to organize functor applications";
25     homepage    = "https://github.com/mirage/functoria";
26     license     = licenses.isc;
27     maintainers = [ maintainers.vbgl ];
28   };