2020-05-01 13:57:14 +01:00
|
|
|
{ stdenv, fetchFromGitHub, buildDunePackage
|
|
|
|
, ocurl, cryptokit, ocaml_extlib, yojson, ocamlnet, xmlm
|
|
|
|
}:
|
2015-01-25 21:08:33 +00:00
|
|
|
|
2018-11-05 10:21:46 +00:00
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "gapi-ocaml";
|
2020-05-01 13:57:14 +01:00
|
|
|
version = "0.3.19";
|
2018-11-05 10:21:46 +00:00
|
|
|
|
|
|
|
minimumOCamlVersion = "4.02";
|
|
|
|
|
2017-07-12 09:16:45 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "astrada";
|
2018-11-05 10:21:46 +00:00
|
|
|
repo = pname;
|
2017-07-12 09:16:45 +01:00
|
|
|
rev = "v${version}";
|
2020-05-01 13:57:14 +01:00
|
|
|
sha256 = "04arif1p1vj5yr24cwicj70b7yx17hrgf4pl47vqg8ngcrdh71v9";
|
2015-01-25 21:08:33 +00:00
|
|
|
};
|
|
|
|
|
2020-05-01 13:57:14 +01:00
|
|
|
propagatedBuildInputs = [ ocurl cryptokit ocaml_extlib ocamlnet yojson ];
|
|
|
|
buildInputs = [ xmlm ];
|
2015-01-25 21:08:33 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "OCaml client for google services";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://gapi-ocaml.forge.ocamlcore.org";
|
2015-01-25 21:08:33 +00:00
|
|
|
license = stdenv.lib.licenses.mit;
|
|
|
|
maintainers = with stdenv.lib.maintainers; [ bennofs ];
|
|
|
|
};
|
|
|
|
}
|