nixpkgs/pkgs/applications/networking/google-drive-ocamlfuse/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

32 lines
842 B
Nix

{ lib, ocaml, buildDunePackage, fetchFromGitHub
, extlib, ocamlfuse, gapi-ocaml, ocaml_sqlite3
, tiny_httpd
, ounit2
}:
buildDunePackage rec {
pname = "google-drive-ocamlfuse";
version = "0.7.31";
src = fetchFromGitHub {
owner = "astrada";
repo = "google-drive-ocamlfuse";
rev = "v${version}";
hash = "sha256-4Fs4e4rXSeumaMDXRqGLpPuFs6DC8dmkywGaBqR5sFA=";
};
doCheck = lib.versionOlder ocaml.version "5.0";
checkInputs = [ ounit2 ];
buildInputs = [ extlib ocamlfuse gapi-ocaml ocaml_sqlite3 tiny_httpd ];
meta = {
inherit (src.meta) homepage;
description = "A FUSE-based file system backed by Google Drive, written in OCaml";
license = lib.licenses.mit;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ obadz ];
mainProgram = "google-drive-ocamlfuse";
};
}