Diff: https://github.com/astrada/gapi-ocaml/compare/v0.4.3...v0.4.4 Changelog: https://github.com/astrada/gapi-ocaml/releases/tag/v0.4.4
32 lines
709 B
Nix
32 lines
709 B
Nix
{ lib, fetchFromGitHub, buildDunePackage, ocaml
|
|
, cryptokit, ocamlnet, ocurl, yojson
|
|
, ounit2
|
|
}:
|
|
|
|
buildDunePackage rec {
|
|
pname = "gapi-ocaml";
|
|
version = "0.4.4";
|
|
duneVersion = "3";
|
|
|
|
minimalOCamlVersion = "4.08";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "astrada";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
hash = "sha256-+UNFW5tmIh5dVyTDEOfOmy1j+gV4P28jlnBTdpQNAjE=";
|
|
};
|
|
|
|
propagatedBuildInputs = [ cryptokit ocamlnet 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 ];
|
|
};
|
|
}
|