diff --git a/pkgs/development/ocaml-modules/bistro/default.nix b/pkgs/development/ocaml-modules/bistro/default.nix new file mode 100644 index 00000000000..b3dddec511c --- /dev/null +++ b/pkgs/development/ocaml-modules/bistro/default.nix @@ -0,0 +1,27 @@ +{ lib, fetchFromGitHub, buildDunePackage +, core, lwt ? ocaml_lwt, ocaml_lwt, ocamlgraph, rresult, tyxml +}: + +buildDunePackage rec { + pname = "bistro"; + version = "0.4.0"; + src = fetchFromGitHub { + owner = "pveber"; + repo = pname; + rev = "v${version}"; + sha256 = "0bxnggm4nkyl2iqwj4f5afw8lj5miq2rqsc9qfrlmg4g4rr3zh1c"; + }; + + buildInputs = [ lwt ocamlgraph rresult tyxml ]; + + propagatedBuildInputs = [ core ]; + + minimumOCamlVersion = "4.04"; + + meta = { + inherit (src.meta) homepage; + description = "Build and execute typed scientific workflows"; + maintainers = [ lib.maintainers.vbgl ]; + license = lib.licenses.gpl2; + }; +} diff --git a/pkgs/top-level/ocaml-packages.nix b/pkgs/top-level/ocaml-packages.nix index de6f97ce57e..c9acff14360 100644 --- a/pkgs/top-level/ocaml-packages.nix +++ b/pkgs/top-level/ocaml-packages.nix @@ -61,6 +61,8 @@ let bigstringaf = callPackage ../development/ocaml-modules/bigstringaf { }; + bistro = callPackage ../development/ocaml-modules/bistro { }; + bitstring = callPackage ../development/ocaml-modules/bitstring { }; bitv = callPackage ../development/ocaml-modules/bitv { };