2020-10-27 00:29:36 +00:00
|
|
|
{ lib, buildDunePackage, fetchFromGitHub
|
2022-07-18 16:21:45 +00:00
|
|
|
, ocaml_extlib, ocamlfuse, gapi-ocaml, ocaml_sqlite3
|
2022-06-16 17:23:12 +00:00
|
|
|
, tiny_httpd
|
|
|
|
, ounit
|
2020-05-15 21:57:56 +00:00
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-05-15 21:57:56 +00:00
|
|
|
buildDunePackage rec {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "google-drive-ocamlfuse";
|
2022-08-21 13:32:41 +00:00
|
|
|
version = "0.7.30";
|
2020-11-03 02:18:15 +00:00
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "astrada";
|
|
|
|
repo = "google-drive-ocamlfuse";
|
|
|
|
rev = "v${version}";
|
2022-08-21 13:32:41 +00:00
|
|
|
sha256 = "sha256-DWG0nBiqeVHaYQfGzU43gGwL4m8X61x5/RT5jD4AwYA=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2022-06-16 17:23:12 +00:00
|
|
|
doCheck = true;
|
|
|
|
checkInputs = [ ounit ];
|
|
|
|
|
2022-07-18 16:21:45 +00:00
|
|
|
buildInputs = [ ocaml_extlib ocamlfuse gapi-ocaml ocaml_sqlite3 tiny_httpd ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
meta = {
|
2020-10-27 00:29:36 +00:00
|
|
|
inherit (src.meta) homepage;
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "A FUSE-based file system backed by Google Drive, written in OCaml";
|
2020-10-27 00:29:36 +00:00
|
|
|
license = lib.licenses.mit;
|
|
|
|
platforms = lib.platforms.linux;
|
|
|
|
maintainers = with lib.maintainers; [ obadz ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|