Merge pull request #271979 from vbgl/ocaml-gluten-0.5
ocamlPackages.gluten: 0.3.0 → 0.5.0
This commit is contained in:
commit
3532bd963c
5 changed files with 15 additions and 9 deletions
|
@ -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
|
||||
|
|
12
pkgs/development/ocaml-modules/gluten/eio.nix
Normal file
12
pkgs/development/ocaml-modules/gluten/eio.nix
Normal 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";
|
||||
};
|
||||
}
|
|
@ -9,8 +9,6 @@ buildDunePackage rec {
|
|||
pname = "gluten-lwt-unix";
|
||||
inherit (gluten) doCheck meta src version;
|
||||
|
||||
duneVersion = "3";
|
||||
|
||||
propagatedBuildInputs = [
|
||||
faraday-lwt-unix
|
||||
gluten-lwt
|
||||
|
|
|
@ -7,8 +7,6 @@ buildDunePackage rec {
|
|||
pname = "gluten-lwt";
|
||||
inherit (gluten) doCheck meta src version;
|
||||
|
||||
duneVersion = "3";
|
||||
|
||||
propagatedBuildInputs = [
|
||||
gluten
|
||||
lwt
|
||||
|
|
|
@ -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 { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue