Files

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

45 lines
880 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
lib,
ocaml,
buildDunePackage,
fetchFromGitHub,
extlib,
ocamlfuse,
gapi-ocaml,
ocaml_sqlite3,
tiny_httpd,
ounit2,
}:
buildDunePackage rec {
pname = "google-drive-ocamlfuse";
version = "0.7.32";
src = fetchFromGitHub {
owner = "astrada";
repo = "google-drive-ocamlfuse";
rev = "v${version}";
hash = "sha256-AWr1tcium70rXFKMTv6xcWxndOJua3UXG8Q04TN1Siw=";
};
doCheck = lib.versionAtLeast ocaml.version "5";
checkInputs = [ ounit2 ];
buildInputs = [
extlib
ocamlfuse
gapi-ocaml
ocaml_sqlite3
tiny_httpd
];
meta = {
inherit (src.meta) homepage;
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";
};
}