Merge pull request #271979 from vbgl/ocaml-gluten-0.5

ocamlPackages.gluten: 0.3.0 → 0.5.0
This commit is contained in:
Fabián Heredia Montiel 2023-12-05 00:27:27 +00:00 committed by GitHub
commit 3532bd963c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 15 additions and 9 deletions

View file

@ -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

View file

@ -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";
};
}

View file

@ -9,8 +9,6 @@ buildDunePackage rec {
pname = "gluten-lwt-unix";
inherit (gluten) doCheck meta src version;
duneVersion = "3";
propagatedBuildInputs = [
faraday-lwt-unix
gluten-lwt

View file

@ -7,8 +7,6 @@ buildDunePackage rec {
pname = "gluten-lwt";
inherit (gluten) doCheck meta src version;
duneVersion = "3";
propagatedBuildInputs = [
gluten
lwt

View file

@ -593,6 +593,7 @@ let
github-unix = callPackage ../development/ocaml-modules/github/unix.nix { };
gluten = callPackage ../development/ocaml-modules/gluten { };
gluten-eio = callPackage ../development/ocaml-modules/gluten/eio.nix { };
gluten-lwt = callPackage ../development/ocaml-modules/gluten/lwt.nix { };
gluten-lwt-unix = callPackage ../development/ocaml-modules/gluten/lwt-unix.nix { };