6d4aeb4377
GitOrigin-RevId: 0f213d0fee84280d8c3a97f7469b988d6fe5fcdf
31 lines
688 B
Nix
31 lines
688 B
Nix
{ lib, fetchFromGitHub, buildDunePackage, ocaml
|
|
, cryptokit, ocamlnet, ocurl, yojson
|
|
, ounit2
|
|
}:
|
|
|
|
buildDunePackage rec {
|
|
pname = "gapi-ocaml";
|
|
version = "0.4.3";
|
|
duneVersion = "3";
|
|
|
|
minimalOCamlVersion = "4.08";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "astrada";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-V0GB9Bd06IdcI5PDFHGVZ0Y/qi7tTs/4ITqPXUOxCLs=";
|
|
};
|
|
|
|
propagatedBuildInputs = [ cryptokit ocamlnet ocurl yojson ];
|
|
|
|
doCheck = true;
|
|
checkInputs = [ ounit2 ];
|
|
|
|
meta = {
|
|
description = "OCaml client for google services";
|
|
inherit (src.meta) homepage;
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ bennofs ];
|
|
};
|
|
}
|