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.

31 lines
702 B
Nix
Raw Normal View History

{ lib, fetchFromGitHub, buildDunePackage, ocaml
, cryptokit, ocamlnet, ocurl, yojson
, ounit2
}:
2015-01-25 21:08:33 +00:00
buildDunePackage rec {
pname = "gapi-ocaml";
version = "0.4.3";
minimalOCamlVersion = "4.02";
2017-07-12 08:16:45 +00:00
src = fetchFromGitHub {
owner = "astrada";
repo = pname;
2017-07-12 08:16:45 +00:00
rev = "v${version}";
sha256 = "sha256-V0GB9Bd06IdcI5PDFHGVZ0Y/qi7tTs/4ITqPXUOxCLs=";
2015-01-25 21:08:33 +00:00
};
propagatedBuildInputs = [ cryptokit ocamlnet ocurl yojson ];
doCheck = lib.versionAtLeast ocaml.version "4.04";
checkInputs = [ ounit2 ];
2015-01-25 21:08:33 +00:00
meta = {
description = "OCaml client for google services";
inherit (src.meta) homepage;
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ bennofs ];
2015-01-25 21:08:33 +00:00
};
}