depot/third_party/nixpkgs/pkgs/development/ocaml-modules/gapi-ocaml/default.nix
Default email 23b612e36f Project import generated by Copybara.
GitOrigin-RevId: ae5c332cbb5827f6b1f02572496b141021de335f
2024-01-25 23:12:00 +09:00

32 lines
737 B
Nix

{ lib, fetchFromGitHub, buildDunePackage, ocaml
, camlp-streams, cppo, cryptokit, ocurl, yojson
, ounit2
}:
buildDunePackage rec {
pname = "gapi-ocaml";
version = "0.4.5";
minimalOCamlVersion = "4.08";
src = fetchFromGitHub {
owner = "astrada";
repo = pname;
rev = "v${version}";
hash = "sha256-qlQEE8l/H22bb1VcK9YehR+9L5XepMu8JY7OLw1OIXg=";
};
nativeBuildInputs = [ cppo ];
propagatedBuildInputs = [ camlp-streams cryptokit ocurl yojson ];
doCheck = true;
checkInputs = [ ounit2 ];
meta = {
description = "OCaml client for google services";
homepage = "https://github.com/astrada/gapi-ocaml";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ bennofs ];
};
}