Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

ocamlPackages.gapi_ocaml: 0.3.19 → 0.4.1

authored by

Vincent Laporte and committed by
ehmry
15812e11 86c6683e

+13 -8
+13 -8
pkgs/development/ocaml-modules/gapi-ocaml/default.nix
··· 1 - { stdenv, fetchFromGitHub, buildDunePackage 2 - , ocurl, cryptokit, ocaml_extlib, yojson, ocamlnet, xmlm 1 + { lib, fetchFromGitHub, buildDunePackage, ocaml 2 + , cryptokit, ocamlnet, ocurl, yojson 3 + , ounit 3 4 }: 4 5 5 6 buildDunePackage rec { 6 7 pname = "gapi-ocaml"; 7 - version = "0.3.19"; 8 + version = "0.4.1"; 9 + 10 + useDune2 = true; 8 11 9 12 minimumOCamlVersion = "4.02"; 10 13 ··· 12 15 owner = "astrada"; 13 16 repo = pname; 14 17 rev = "v${version}"; 15 - sha256 = "04arif1p1vj5yr24cwicj70b7yx17hrgf4pl47vqg8ngcrdh71v9"; 18 + sha256 = "0riax23grjnq9pczmp1yv02ji0svvs2kbiqskj6f6yjviamnpa31"; 16 19 }; 17 20 18 - propagatedBuildInputs = [ ocurl cryptokit ocaml_extlib ocamlnet yojson ]; 19 - buildInputs = [ xmlm ]; 21 + propagatedBuildInputs = [ cryptokit ocamlnet ocurl yojson ]; 22 + 23 + doCheck = lib.versionAtLeast ocaml.version "4.04"; 24 + checkInputs = [ ounit ]; 20 25 21 26 meta = { 22 27 description = "OCaml client for google services"; 23 28 homepage = "http://gapi-ocaml.forge.ocamlcore.org"; 24 - license = stdenv.lib.licenses.mit; 25 - maintainers = with stdenv.lib.maintainers; [ bennofs ]; 29 + license = lib.licenses.mit; 30 + maintainers = with lib.maintainers; [ bennofs ]; 26 31 }; 27 32 }