2020-05-15 21:57:56 +00:00
|
|
|
{ stdenv, fetchFromGitHub, buildDunePackage
|
|
|
|
, ocurl, cryptokit, ocaml_extlib, yojson, ocamlnet, xmlm
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "gapi-ocaml";
|
2020-05-15 21:57:56 +00:00
|
|
|
version = "0.3.19";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
minimumOCamlVersion = "4.02";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "astrada";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2020-05-15 21:57:56 +00:00
|
|
|
sha256 = "04arif1p1vj5yr24cwicj70b7yx17hrgf4pl47vqg8ngcrdh71v9";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2020-05-15 21:57:56 +00:00
|
|
|
propagatedBuildInputs = [ ocurl cryptokit ocaml_extlib ocamlnet yojson ];
|
|
|
|
buildInputs = [ xmlm ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "OCaml client for google services";
|
|
|
|
homepage = "http://gapi-ocaml.forge.ocamlcore.org";
|
|
|
|
license = stdenv.lib.licenses.mit;
|
|
|
|
maintainers = with stdenv.lib.maintainers; [ bennofs ];
|
|
|
|
};
|
|
|
|
}
|