2020-10-19 06:30:49 +01:00
|
|
|
{ lib, buildDunePackage, fetchFromGitHub
|
|
|
|
, ocaml_extlib, ocamlfuse, gapi_ocaml, ocaml_sqlite3
|
2020-05-10 20:24:18 +01:00
|
|
|
}:
|
2015-01-25 21:08:33 +00:00
|
|
|
|
2020-05-10 20:24:18 +01:00
|
|
|
buildDunePackage rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "google-drive-ocamlfuse";
|
2020-10-19 06:30:49 +01:00
|
|
|
version = "0.7.22";
|
|
|
|
|
|
|
|
useDune2 = true;
|
2015-10-07 17:37:25 +01:00
|
|
|
|
2020-10-26 05:27:59 +00:00
|
|
|
minimumOCamlVersion = "4.06";
|
|
|
|
|
2017-09-20 12:56:11 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "astrada";
|
|
|
|
repo = "google-drive-ocamlfuse";
|
|
|
|
rev = "v${version}";
|
2020-10-19 06:30:49 +01:00
|
|
|
sha256 = "027j1r2iy8vnbqs8bv893f0909yk5312ki5p3zh2pdz6s865h750";
|
2015-01-25 21:08:33 +00:00
|
|
|
};
|
|
|
|
|
2020-10-19 06:30:49 +01:00
|
|
|
buildInputs = [ ocaml_extlib ocamlfuse gapi_ocaml ocaml_sqlite3 ];
|
2015-01-25 21:08:33 +00:00
|
|
|
|
|
|
|
meta = {
|
2020-10-19 06:30:49 +01:00
|
|
|
inherit (src.meta) homepage;
|
2015-10-07 17:37:25 +01:00
|
|
|
description = "A FUSE-based file system backed by Google Drive, written in OCaml";
|
2020-10-19 06:30:49 +01:00
|
|
|
license = lib.licenses.mit;
|
|
|
|
platforms = lib.platforms.linux;
|
|
|
|
maintainers = with lib.maintainers; [ obadz ];
|
2015-01-25 21:08:33 +00:00
|
|
|
};
|
|
|
|
}
|