mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
28 lines
705 B
Nix
28 lines
705 B
Nix
{ stdenv, fetchFromGitHub, buildDunePackage
|
|
, ocurl, cryptokit, ocaml_extlib, yojson, ocamlnet, xmlm
|
|
}:
|
|
|
|
buildDunePackage rec {
|
|
pname = "gapi-ocaml";
|
|
version = "0.3.19";
|
|
|
|
minimumOCamlVersion = "4.02";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "astrada";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "04arif1p1vj5yr24cwicj70b7yx17hrgf4pl47vqg8ngcrdh71v9";
|
|
};
|
|
|
|
propagatedBuildInputs = [ ocurl cryptokit ocaml_extlib ocamlnet yojson ];
|
|
buildInputs = [ xmlm ];
|
|
|
|
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 ];
|
|
};
|
|
}
|