ocamlPackages.farfadet: 0.2 -> 0.3

ocamlPackages.faraday: 0.5.0 -> 0.7.0
This commit is contained in:
Vincent Laporte 2019-04-06 14:37:32 +00:00
parent c58c079223
commit 2cde1a89b6
No known key found for this signature in database
GPG Key ID: EBD582ADDDB1F81F
2 changed files with 8 additions and 7 deletions

View File

@ -1,8 +1,8 @@
{ stdenv, fetchFromGitHub, buildDunePackage, alcotest }: { lib, fetchFromGitHub, buildDunePackage, alcotest, bigstringaf }:
buildDunePackage rec { buildDunePackage rec {
pname = "faraday"; pname = "faraday";
version = "0.5.0"; version = "0.7.0";
minimumOCamlVersion = "4.02"; minimumOCamlVersion = "4.02";
@ -10,16 +10,17 @@ buildDunePackage rec {
owner = "inhabitedtype"; owner = "inhabitedtype";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "1kql0il1frsbx6rvwqd7ahi4m14ik6la5an6c2w4x7k00ndm4d7n"; sha256 = "0z6ikwlqad91iac0q5z88p3wzq5k15y86ckzmhdq1aqwrcm14bq2";
}; };
buildInputs = [ alcotest ]; buildInputs = [ alcotest ];
propagatedBuildInputs = [ bigstringaf ];
doCheck = true; doCheck = true;
meta = { meta = {
description = "Serialization library built for speed and memory efficiency"; description = "Serialization library built for speed and memory efficiency";
license = stdenv.lib.licenses.bsd3; license = lib.licenses.bsd3;
maintainers = [ stdenv.lib.maintainers.vbgl ]; maintainers = [ lib.maintainers.vbgl ];
inherit (src.meta) homepage; inherit (src.meta) homepage;
}; };
} }

View File

@ -8,11 +8,11 @@ else
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "ocaml${ocaml.version}-farfadet-${version}"; name = "ocaml${ocaml.version}-farfadet-${version}";
version = "0.2"; version = "0.3";
src = fetchurl { src = fetchurl {
url = "https://github.com/oklm-wsh/Farfadet/releases/download/v${version}/farfadet-${version}.tbz"; url = "https://github.com/oklm-wsh/Farfadet/releases/download/v${version}/farfadet-${version}.tbz";
sha256 = "06wvd57c8khpq0c2hvm15zng269zvabsw1lcaqphqdcckl67nsxr"; sha256 = "0nlafnp0pwx0n4aszpsk6nvcvqi9im306p4jhx70si7k3xprlr2j";
}; };
buildInputs = [ ocaml findlib ocamlbuild topkg ]; buildInputs = [ ocaml findlib ocamlbuild topkg ];