From be58ce4815dc40d94409b65e210425a24b3819c0 Mon Sep 17 00:00:00 2001 From: Benno Fünfstück Date: Sun, 25 Jan 2015 22:08:33 +0100 Subject: google-drive-ocamlfuse: new expression --- .../networking/google-drive-ocamlfuse/default.nix | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 pkgs/applications/networking/google-drive-ocamlfuse/default.nix (limited to 'pkgs/applications/networking/google-drive-ocamlfuse') 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 = { + + }; +} -- cgit 1.4.1