diff options
author | Benno Fünfstück <benno.fuenfstueck@gmail.com> | 2015-01-25 22:08:33 +0100 |
---|---|---|
committer | Benno Fünfstück <benno.fuenfstueck@gmail.com> | 2015-01-25 22:10:09 +0100 |
commit | be58ce4815dc40d94409b65e210425a24b3819c0 (patch) | |
tree | b0eb347095070d5589d3a70a1502878c042a0967 /pkgs/applications/networking/google-drive-ocamlfuse | |
parent | 8408136da7bec07a17f8cf0760f9162df8041e4e (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.nix | 18 |
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 = { + + }; +} |