nixpkgs/pkgs/development/ocaml-modules/gapi-ocaml/default.nix
Vincent Laporte 515daaad9a
ocamlPackages.gapi-ocaml: 0.4.4 → 0.4.5
ocamlPackages.google-drive-ocamlfuse: 0.7.30 → 0.7.31

google-drive-ocamlfuse: use default version of OCaml
2024-01-16 07:50:46 +01:00

33 lines
737 B
Nix

{ lib, fetchFromGitHub, buildDunePackage, ocaml
, camlp-streams, cppo, cryptokit, ocurl, yojson
, ounit2
}:
buildDunePackage rec {
pname = "gapi-ocaml";
version = "0.4.5";
minimalOCamlVersion = "4.08";
src = fetchFromGitHub {
owner = "astrada";
repo = pname;
rev = "v${version}";
hash = "sha256-qlQEE8l/H22bb1VcK9YehR+9L5XepMu8JY7OLw1OIXg=";
};
nativeBuildInputs = [ cppo ];
propagatedBuildInputs = [ camlp-streams cryptokit ocurl yojson ];
doCheck = true;
checkInputs = [ ounit2 ];
meta = {
description = "OCaml client for google services";
homepage = "https://github.com/astrada/gapi-ocaml";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ bennofs ];
};
}