mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-18 19:54:05 +00:00
33 lines
744 B
Nix
33 lines
744 B
Nix
{ lib, fetchFromGitHub, buildDunePackage, ocaml
|
|
, cryptokit, ocamlnet, ocurl, yojson
|
|
, ounit
|
|
}:
|
|
|
|
buildDunePackage rec {
|
|
pname = "gapi-ocaml";
|
|
version = "0.4.1";
|
|
|
|
useDune2 = true;
|
|
|
|
minimumOCamlVersion = "4.02";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "astrada";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "0riax23grjnq9pczmp1yv02ji0svvs2kbiqskj6f6yjviamnpa31";
|
|
};
|
|
|
|
propagatedBuildInputs = [ cryptokit ocamlnet ocurl yojson ];
|
|
|
|
doCheck = lib.versionAtLeast ocaml.version "4.04";
|
|
checkInputs = [ ounit ];
|
|
|
|
meta = {
|
|
description = "OCaml client for google services";
|
|
homepage = "http://gapi-ocaml.forge.ocamlcore.org";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ bennofs ];
|
|
};
|
|
}
|