Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
45 lines
765 B
Nix
45 lines
765 B
Nix
{
|
|
lib,
|
|
fetchFromGitHub,
|
|
buildDunePackage,
|
|
camlp-streams,
|
|
cppo,
|
|
cryptokit,
|
|
ocurl,
|
|
yojson,
|
|
ounit2,
|
|
}:
|
|
|
|
buildDunePackage rec {
|
|
pname = "gapi-ocaml";
|
|
version = "0.4.6";
|
|
|
|
minimalOCamlVersion = "4.08";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "astrada";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
hash = "sha256-pMieplqWGjgA6NVK0hEEVTRjggZtiPP/OepRi9SxMok=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|