aboutsummaryrefslogtreecommitdiff
path: root/infra/libkookie/nixpkgs/pkgs/development/ocaml-modules/gapi-ocaml/default.nix
blob: b01d4b4a04c24b0dabe92b15effbc83bdf73b2ac (plain)
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
{ stdenv, fetchFromGitHub, buildDunePackage
, ocurl, cryptokit, ocaml_extlib, yojson, ocamlnet, xmlm
}:

buildDunePackage rec {
  pname = "gapi-ocaml";
  version = "0.3.19";

  minimumOCamlVersion = "4.02";

  src = fetchFromGitHub {
    owner = "astrada";
    repo = pname;
    rev = "v${version}";
    sha256 = "04arif1p1vj5yr24cwicj70b7yx17hrgf4pl47vqg8ngcrdh71v9";
  };

  propagatedBuildInputs = [ ocurl cryptokit ocaml_extlib ocamlnet yojson ];
  buildInputs = [ xmlm ];

  meta = {
    description = "OCaml client for google services";
    homepage = "http://gapi-ocaml.forge.ocamlcore.org";
    license = stdenv.lib.licenses.mit;
    maintainers = with stdenv.lib.maintainers; [ bennofs ];
  };
}