From 99fec0eeb349a5f8b6c634c73455d30674b4db73 Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Thu, 13 Jun 2019 06:40:48 +0000 Subject: [PATCH] ocamlPackages.bistro: init at 0.4.0 --- .../ocaml-modules/bistro/default.nix | 27 +++++++++++++++++++ pkgs/top-level/ocaml-packages.nix | 2 ++ 2 files changed, 29 insertions(+) create mode 100644 pkgs/development/ocaml-modules/bistro/default.nix diff --git a/pkgs/development/ocaml-modules/bistro/default.nix b/pkgs/development/ocaml-modules/bistro/default.nix new file mode 100644 index 000000000000..b3dddec511c4 --- /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 de6f97ce57e1..c9acff143606 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 { };