summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/bistro/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/ocaml-modules/bistro/default.nix')
-rw-r--r--pkgs/development/ocaml-modules/bistro/default.nix49
1 files changed, 49 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/bistro/default.nix b/pkgs/development/ocaml-modules/bistro/default.nix
new file mode 100644
index 00000000000..348d1bb97d4
--- /dev/null
+++ b/pkgs/development/ocaml-modules/bistro/default.nix
@@ -0,0 +1,49 @@
+{ lib
+, ocaml
+, fetchFromGitHub
+, buildDunePackage
+, base64
+, bos
+, core
+, lwt_react
+, ocamlgraph
+, ppx_sexp_conv
+, rresult
+, sexplib
+, tyxml
+}:
+
+buildDunePackage rec {
+  pname = "bistro";
+  version = "unstable-2021-11-13";
+
+  useDune2 = true;
+
+  src = fetchFromGitHub {
+    owner = "pveber";
+    repo = pname;
+    rev = "fb285b2c6d8adccda3c71e2293bceb01febd6624";
+    sha256 = "sha256-JChDU1WH8W9Czkppx9SHiVIu9/7QFWJy2A89oksp0Ek=";
+  };
+
+  propagatedBuildInputs = [
+    base64
+    bos
+    core
+    lwt_react
+    ocamlgraph
+    ppx_sexp_conv
+    rresult
+    sexplib
+    tyxml
+  ];
+
+  minimalOCamlVersion = "4.12";
+
+  meta = {
+    inherit (src.meta) homepage;
+    description = "Build and execute typed scientific workflows";
+    maintainers = [ lib.maintainers.vbgl ];
+    license = lib.licenses.gpl2;
+  };
+}