1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-05 03:53:41 +00:00
nixpkgs/pkgs/development/ocaml-modules/functoria/default.nix
2020-12-01 07:30:56 +01:00

30 lines
798 B
Nix

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