Merge pull request #211533 from vbgl/ocaml-gluten-0.3.0

ocamlPackages.gluten: 0.2.1 → 0.3.0
This commit is contained in:
Weijia Wang 2023-01-26 04:22:31 +01:00 committed by GitHub
commit efecda5112
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 17 additions and 10 deletions

View file

@ -3,24 +3,25 @@
, faraday
, fetchurl
, lib
, ke
}:
buildDunePackage rec {
pname = "gluten";
version = "0.2.1";
version = "0.3.0";
src = fetchurl {
url = "https://github.com/anmonteiro/gluten/releases/download/${version}/gluten-${version}.tbz";
sha256 = "1pl0mpcprz8hmaiv28p7w51qfcx7s76zdkak0vm5cazbjl38nc46";
hash = "sha256-9jctX3G/nQJTGJ7ClSBEiXwxeu0GcT9N+EmPfLuSFOU=";
};
minimalOCamlVersion = "4.06";
useDune2 = true;
minimalOCamlVersion = "4.08";
duneVersion = "3";
propagatedBuildInputs = [
bigstringaf
faraday
ke
];
doCheck = false; # No tests

View file

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

View file

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

View file

@ -2,7 +2,7 @@
, buildDunePackage
, ocaml
, dune-site
, fetchzip
, fetchurl
, gluten-lwt-unix
, lib
, logs
@ -22,9 +22,11 @@ buildDunePackage rec {
pname = "piaf";
version = "0.1.0";
src = fetchzip {
duneVersion = "3";
src = fetchurl {
url = "https://github.com/anmonteiro/piaf/releases/download/${version}/piaf-${version}.tbz";
sha256 = "0d431kz3bkwlgdamvsv94mzd9631ppcjpv516ii91glzlfdzh5hz";
hash = "sha256-AMO+ptGox33Bi7u/H0SaeCU88XORrRU3UbLof3EwcmU=";
};
postPatch = ''