3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/ocaml-modules/gapi-ocaml/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

33 lines
743 B
Nix
Raw Normal View History

{ lib, fetchFromGitHub, buildDunePackage, ocaml
, cryptokit, ocamlnet, ocurl, yojson
, ounit
}:
2015-01-25 21:08:33 +00:00
buildDunePackage rec {
pname = "gapi-ocaml";
version = "0.4.2";
useDune2 = true;
minimumOCamlVersion = "4.02";
2017-07-12 09:16:45 +01:00
src = fetchFromGitHub {
owner = "astrada";
repo = pname;
2017-07-12 09:16:45 +01:00
rev = "v${version}";
sha256 = "sha256-imicHOlNjPHHW/lcWRJmURafYZFe/6J3efKPJcel8J8=";
2015-01-25 21:08:33 +00:00
};
propagatedBuildInputs = [ cryptokit ocamlnet ocurl yojson ];
doCheck = lib.versionAtLeast ocaml.version "4.04";
checkInputs = [ ounit ];
2015-01-25 21:08:33 +00:00
meta = {
description = "OCaml client for google services";
homepage = "http://gapi-ocaml.forge.ocamlcore.org";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ bennofs ];
2015-01-25 21:08:33 +00:00
};
}