nixpkgs/pkgs/applications/networking/google-drive-ocamlfuse/default.nix

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

32 lines
842 B
Nix
Raw Normal View History

{ lib, ocaml, buildDunePackage, fetchFromGitHub
, extlib, ocamlfuse, gapi-ocaml, ocaml_sqlite3
, tiny_httpd
, ounit2
}:
2015-01-25 21:08:33 +00:00
buildDunePackage rec {
pname = "google-drive-ocamlfuse";
version = "0.7.32";
src = fetchFromGitHub {
owner = "astrada";
repo = "google-drive-ocamlfuse";
rev = "v${version}";
hash = "sha256-AWr1tcium70rXFKMTv6xcWxndOJua3UXG8Q04TN1Siw=";
2015-01-25 21:08:33 +00:00
};
doCheck = lib.versionOlder ocaml.version "5.0";
checkInputs = [ ounit2 ];
buildInputs = [ extlib ocamlfuse gapi-ocaml ocaml_sqlite3 tiny_httpd ];
2015-01-25 21:08:33 +00:00
meta = {
inherit (src.meta) homepage;
description = "A FUSE-based file system backed by Google Drive, written in OCaml";
license = lib.licenses.mit;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ obadz ];
2023-11-27 01:17:53 +00:00
mainProgram = "google-drive-ocamlfuse";
2015-01-25 21:08:33 +00:00
};
}