blob: c417d94e2947d536c56d8505afe5dbf83c7546b6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
{ lib, fetchFromGitHub, buildDunePackage, ocaml
, cryptokit, ocamlnet, ocurl, yojson
, ounit
}:
buildDunePackage rec {
pname = "gapi-ocaml";
version = "0.4.2";
useDune2 = true;
minimumOCamlVersion = "4.02";
src = fetchFromGitHub {
owner = "astrada";
repo = pname;
rev = "v${version}";
sha256 = "sha256-imicHOlNjPHHW/lcWRJmURafYZFe/6J3efKPJcel8J8=";
};
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 ];
};
}
|