about summary refs log tree commit diff
path: root/pkgs/applications/networking/google-drive-ocamlfuse
diff options
context:
space:
mode:
authorBenno Fünfstück <benno.fuenfstueck@gmail.com>2015-01-25 22:08:33 +0100
committerBenno Fünfstück <benno.fuenfstueck@gmail.com>2015-01-25 22:10:09 +0100
commitbe58ce4815dc40d94409b65e210425a24b3819c0 (patch)
treeb0eb347095070d5589d3a70a1502878c042a0967 /pkgs/applications/networking/google-drive-ocamlfuse
parent8408136da7bec07a17f8cf0760f9162df8041e4e (diff)
google-drive-ocamlfuse: new expression
Diffstat (limited to 'pkgs/applications/networking/google-drive-ocamlfuse')
-rw-r--r--pkgs/applications/networking/google-drive-ocamlfuse/default.nix18
1 files changed, 18 insertions, 0 deletions
diff --git a/pkgs/applications/networking/google-drive-ocamlfuse/default.nix b/pkgs/applications/networking/google-drive-ocamlfuse/default.nix
new file mode 100644
index 0000000000000..db2934785eb73
--- /dev/null
+++ b/pkgs/applications/networking/google-drive-ocamlfuse/default.nix
@@ -0,0 +1,18 @@
+{ stdenv, fetchurl, ocamlPackages, zlib }:
+
+stdenv.mkDerivation rec {
+  name = "google-drive-ocamlfuse-0.5.12";
+  src = fetchurl {
+    url = "https://forge.ocamlcore.org/frs/download.php/1489/${name}.tar.gz";
+    sha256 = "0yfzzrv4h7vplw6qjm9viymy51jaqqari012agar96zwa86fsrdr";
+  };
+
+  buildInputs = [ zlib ] ++ (with ocamlPackages; [ocaml ocamlfuse findlib gapi_ocaml ocaml_sqlite3 camlidl]);
+  configurePhase = "ocaml setup.ml -configure --prefix \"$out\"";
+  buildPhase = "ocaml setup.ml -build";
+  installPhase = "ocaml setup.ml -install";
+
+  meta = {
+    
+  };
+}