diff --git a/pkgs/applications/networking/google-drive-ocamlfuse/default.nix b/pkgs/applications/networking/google-drive-ocamlfuse/default.nix index 48d683e14f21..4260630190a4 100644 --- a/pkgs/applications/networking/google-drive-ocamlfuse/default.nix +++ b/pkgs/applications/networking/google-drive-ocamlfuse/default.nix @@ -4,41 +4,45 @@ buildDunePackage, fetchFromGitHub, extlib, - ocamlfuse, + fuse3, gapi-ocaml, ocaml_sqlite3, + otoml, tiny_httpd, ounit2, }: -buildDunePackage rec { +buildDunePackage (finalAttrs: { pname = "google-drive-ocamlfuse"; - version = "0.7.32"; + version = "0.9.0"; + + minimalOCamlVersion = "4.13"; src = fetchFromGitHub { owner = "astrada"; repo = "google-drive-ocamlfuse"; - rev = "v${version}"; - hash = "sha256-AWr1tcium70rXFKMTv6xcWxndOJua3UXG8Q04TN1Siw="; + tag = "v${finalAttrs.version}"; + hash = "sha256-nTZdE9F6ufQ/O/Ck6fzoK65uZ0ylMR6HkwKsBNRDjMs="; }; - doCheck = lib.versionAtLeast ocaml.version "5"; + doCheck = lib.versionAtLeast ocaml.version "4.14"; checkInputs = [ ounit2 ]; buildInputs = [ extlib - ocamlfuse + fuse3 gapi-ocaml ocaml_sqlite3 + otoml tiny_httpd ]; meta = { - inherit (src.meta) homepage; + homepage = "https://github.com/astrada/google-drive-ocamlfuse/"; description = "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"; }; -} +})