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
|
, faraday
|
||||||
, fetchurl
|
, fetchurl
|
||||||
, lib
|
, lib
|
||||||
, ke
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildDunePackage rec {
|
buildDunePackage rec {
|
||||||
pname = "gluten";
|
pname = "gluten";
|
||||||
version = "0.3.0";
|
version = "0.5.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/anmonteiro/gluten/releases/download/${version}/gluten-${version}.tbz";
|
url = "https://github.com/anmonteiro/gluten/releases/download/${version}/gluten-${version}.tbz";
|
||||||
hash = "sha256-9jctX3G/nQJTGJ7ClSBEiXwxeu0GcT9N+EmPfLuSFOU=";
|
hash = "sha256-mGKbbQSPMOumUCtxrAdoBt5y2RrkAf58spkUymTYhYM=";
|
||||||
};
|
};
|
||||||
|
|
||||||
minimalOCamlVersion = "4.08";
|
minimalOCamlVersion = "4.08";
|
||||||
duneVersion = "3";
|
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
bigstringaf
|
bigstringaf
|
||||||
faraday
|
faraday
|
||||||
ke
|
|
||||||
];
|
];
|
||||||
|
|
||||||
doCheck = false; # No tests
|
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";
|
pname = "gluten-lwt-unix";
|
||||||
inherit (gluten) doCheck meta src version;
|
inherit (gluten) doCheck meta src version;
|
||||||
|
|
||||||
duneVersion = "3";
|
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
faraday-lwt-unix
|
faraday-lwt-unix
|
||||||
gluten-lwt
|
gluten-lwt
|
||||||
|
|
|
@ -7,8 +7,6 @@ buildDunePackage rec {
|
||||||
pname = "gluten-lwt";
|
pname = "gluten-lwt";
|
||||||
inherit (gluten) doCheck meta src version;
|
inherit (gluten) doCheck meta src version;
|
||||||
|
|
||||||
duneVersion = "3";
|
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
gluten
|
gluten
|
||||||
lwt
|
lwt
|
||||||
|
|
|
@ -593,6 +593,7 @@ let
|
||||||
github-unix = callPackage ../development/ocaml-modules/github/unix.nix { };
|
github-unix = callPackage ../development/ocaml-modules/github/unix.nix { };
|
||||||
|
|
||||||
gluten = callPackage ../development/ocaml-modules/gluten { };
|
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 = callPackage ../development/ocaml-modules/gluten/lwt.nix { };
|
||||||
gluten-lwt-unix = callPackage ../development/ocaml-modules/gluten/lwt-unix.nix { };
|
gluten-lwt-unix = callPackage ../development/ocaml-modules/gluten/lwt-unix.nix { };
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue