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

32 lines
782 B
Nix
Raw Normal View History

{ lib, 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.30";
duneVersion = "3";
src = fetchFromGitHub {
owner = "astrada";
repo = "google-drive-ocamlfuse";
rev = "v${version}";
sha256 = "sha256-DWG0nBiqeVHaYQfGzU43gGwL4m8X61x5/RT5jD4AwYA=";
2015-01-25 21:08:33 +00:00
};
doCheck = true;
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 ];
2015-01-25 21:08:33 +00:00
};
}