depot/third_party/nixpkgs/pkgs/development/ocaml-modules/gapi-ocaml/default.nix
Default email f34ce41345 Project import generated by Copybara.
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
2024-07-27 08:49:29 +02:00

32 lines
730 B
Nix

{ lib, fetchFromGitHub, buildDunePackage
, 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 ];
};
}