2020-10-19 05:30:49 +00:00
|
|
|
{ lib, buildDunePackage, fetchFromGitHub
|
2022-11-16 12:12:28 +00:00
|
|
|
, extlib, ocamlfuse, gapi-ocaml, ocaml_sqlite3
|
2022-05-24 18:51:46 +00:00
|
|
|
, tiny_httpd
|
2023-01-05 08:47:04 +00:00
|
|
|
, ounit2
|
2020-05-10 19:24:18 +00:00
|
|
|
}:
|
2015-01-25 21:08:33 +00:00
|
|
|
|
2020-05-10 19:24:18 +00:00
|
|
|
buildDunePackage rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "google-drive-ocamlfuse";
|
2022-08-14 10:44:15 +00:00
|
|
|
version = "0.7.30";
|
2023-01-05 08:47:04 +00:00
|
|
|
duneVersion = "3";
|
2020-10-26 05:27:59 +00:00
|
|
|
|
2017-09-20 11:56:11 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "astrada";
|
|
|
|
repo = "google-drive-ocamlfuse";
|
|
|
|
rev = "v${version}";
|
2022-08-14 10:44:15 +00:00
|
|
|
sha256 = "sha256-DWG0nBiqeVHaYQfGzU43gGwL4m8X61x5/RT5jD4AwYA=";
|
2015-01-25 21:08:33 +00:00
|
|
|
};
|
|
|
|
|
2022-05-24 18:51:37 +00:00
|
|
|
doCheck = true;
|
2022-03-01 15:42:22 +00:00
|
|
|
checkInputs = [ ounit2 ];
|
2022-05-24 18:51:37 +00:00
|
|
|
|
2022-11-16 12:12:28 +00:00
|
|
|
buildInputs = [ extlib ocamlfuse gapi-ocaml ocaml_sqlite3 tiny_httpd ];
|
2015-01-25 21:08:33 +00:00
|
|
|
|
|
|
|
meta = {
|
2020-10-19 05:30:49 +00:00
|
|
|
inherit (src.meta) homepage;
|
2015-10-07 16:37:25 +00:00
|
|
|
description = "A FUSE-based file system backed by Google Drive, written in OCaml";
|
2020-10-19 05:30:49 +00:00
|
|
|
license = lib.licenses.mit;
|
|
|
|
platforms = lib.platforms.linux;
|
|
|
|
maintainers = with lib.maintainers; [ obadz ];
|
2015-01-25 21:08:33 +00:00
|
|
|
};
|
|
|
|
}
|