ocamlPackages.gapi_ocaml: 0.3.19 → 0.4.1

This commit is contained in:
Vincent Laporte 2020-10-26 06:11:02 +01:00 committed by ehmry
parent 86c6683e62
commit 15812e1136

View file

@ -1,10 +1,13 @@
{ stdenv, fetchFromGitHub, buildDunePackage { lib, fetchFromGitHub, buildDunePackage, ocaml
, ocurl, cryptokit, ocaml_extlib, yojson, ocamlnet, xmlm , cryptokit, ocamlnet, ocurl, yojson
, ounit
}: }:
buildDunePackage rec { buildDunePackage rec {
pname = "gapi-ocaml"; pname = "gapi-ocaml";
version = "0.3.19"; version = "0.4.1";
useDune2 = true;
minimumOCamlVersion = "4.02"; minimumOCamlVersion = "4.02";
@ -12,16 +15,18 @@ buildDunePackage rec {
owner = "astrada"; owner = "astrada";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "04arif1p1vj5yr24cwicj70b7yx17hrgf4pl47vqg8ngcrdh71v9"; sha256 = "0riax23grjnq9pczmp1yv02ji0svvs2kbiqskj6f6yjviamnpa31";
}; };
propagatedBuildInputs = [ ocurl cryptokit ocaml_extlib ocamlnet yojson ]; propagatedBuildInputs = [ cryptokit ocamlnet ocurl yojson ];
buildInputs = [ xmlm ];
doCheck = lib.versionAtLeast ocaml.version "4.04";
checkInputs = [ ounit ];
meta = { meta = {
description = "OCaml client for google services"; description = "OCaml client for google services";
homepage = "http://gapi-ocaml.forge.ocamlcore.org"; homepage = "http://gapi-ocaml.forge.ocamlcore.org";
license = stdenv.lib.licenses.mit; license = lib.licenses.mit;
maintainers = with stdenv.lib.maintainers; [ bennofs ]; maintainers = with lib.maintainers; [ bennofs ];
}; };
} }