about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/ocaml-modules/gluten
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/ocaml-modules/gluten')
-rw-r--r--nixpkgs/pkgs/development/ocaml-modules/gluten/default.nix7
-rw-r--r--nixpkgs/pkgs/development/ocaml-modules/gluten/eio.nix12
-rw-r--r--nixpkgs/pkgs/development/ocaml-modules/gluten/lwt-unix.nix2
-rw-r--r--nixpkgs/pkgs/development/ocaml-modules/gluten/lwt.nix2
4 files changed, 14 insertions, 9 deletions
diff --git a/nixpkgs/pkgs/development/ocaml-modules/gluten/default.nix b/nixpkgs/pkgs/development/ocaml-modules/gluten/default.nix
index d0f41d202689..5c55f2f09bfd 100644
--- a/nixpkgs/pkgs/development/ocaml-modules/gluten/default.nix
+++ b/nixpkgs/pkgs/development/ocaml-modules/gluten/default.nix
@@ -3,25 +3,22 @@
 , faraday
 , fetchurl
 , lib
-, ke
 }:
 
 buildDunePackage rec {
   pname = "gluten";
-  version = "0.3.0";
+  version = "0.5.0";
 
   src = fetchurl {
     url = "https://github.com/anmonteiro/gluten/releases/download/${version}/gluten-${version}.tbz";
-    hash = "sha256-9jctX3G/nQJTGJ7ClSBEiXwxeu0GcT9N+EmPfLuSFOU=";
+    hash = "sha256-mGKbbQSPMOumUCtxrAdoBt5y2RrkAf58spkUymTYhYM=";
   };
 
   minimalOCamlVersion = "4.08";
-  duneVersion = "3";
 
   propagatedBuildInputs = [
     bigstringaf
     faraday
-    ke
   ];
 
   doCheck = false; # No tests
diff --git a/nixpkgs/pkgs/development/ocaml-modules/gluten/eio.nix b/nixpkgs/pkgs/development/ocaml-modules/gluten/eio.nix
new file mode 100644
index 000000000000..9c78b1d73cd4
--- /dev/null
+++ b/nixpkgs/pkgs/development/ocaml-modules/gluten/eio.nix
@@ -0,0 +1,12 @@
+{ lib, buildDunePackage, gluten, eio }:
+
+buildDunePackage {
+  pname = "gluten-eio";
+  inherit (gluten) src version;
+
+  propagatedBuildInputs = [ gluten eio ];
+
+  meta = gluten.meta // {
+    description = "EIO runtime for gluten";
+  };
+}
diff --git a/nixpkgs/pkgs/development/ocaml-modules/gluten/lwt-unix.nix b/nixpkgs/pkgs/development/ocaml-modules/gluten/lwt-unix.nix
index cec427c3ad61..c3a360322a14 100644
--- a/nixpkgs/pkgs/development/ocaml-modules/gluten/lwt-unix.nix
+++ b/nixpkgs/pkgs/development/ocaml-modules/gluten/lwt-unix.nix
@@ -9,8 +9,6 @@ buildDunePackage rec {
   pname = "gluten-lwt-unix";
   inherit (gluten) doCheck meta src version;
 
-  duneVersion = "3";
-
   propagatedBuildInputs = [
     faraday-lwt-unix
     gluten-lwt
diff --git a/nixpkgs/pkgs/development/ocaml-modules/gluten/lwt.nix b/nixpkgs/pkgs/development/ocaml-modules/gluten/lwt.nix
index cfa736c4bc99..e4cfb0d8db02 100644
--- a/nixpkgs/pkgs/development/ocaml-modules/gluten/lwt.nix
+++ b/nixpkgs/pkgs/development/ocaml-modules/gluten/lwt.nix
@@ -7,8 +7,6 @@ buildDunePackage rec {
   pname = "gluten-lwt";
   inherit (gluten) doCheck meta src version;
 
-  duneVersion = "3";
-
   propagatedBuildInputs = [
     gluten
     lwt