3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/ocaml-modules/gapi-ocaml/default.nix

33 lines
744 B
Nix
Raw Normal View History

{ lib, fetchFromGitHub, buildDunePackage, ocaml
, cryptokit, ocamlnet, ocurl, yojson
, ounit
}:
2015-01-25 21:08:33 +00:00
buildDunePackage rec {
pname = "gapi-ocaml";
version = "0.4.1";
useDune2 = true;
minimumOCamlVersion = "4.02";
2017-07-12 09:16:45 +01:00
src = fetchFromGitHub {
owner = "astrada";
repo = pname;
2017-07-12 09:16:45 +01:00
rev = "v${version}";
sha256 = "0riax23grjnq9pczmp1yv02ji0svvs2kbiqskj6f6yjviamnpa31";
2015-01-25 21:08:33 +00:00
};
propagatedBuildInputs = [ cryptokit ocamlnet ocurl yojson ];
doCheck = lib.versionAtLeast ocaml.version "4.04";
checkInputs = [ ounit ];
2015-01-25 21:08:33 +00:00
meta = {
description = "OCaml client for google services";
homepage = "http://gapi-ocaml.forge.ocamlcore.org";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ bennofs ];
2015-01-25 21:08:33 +00:00
};
}