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