summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/gapi-ocaml
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/development/ocaml-modules/gapi-ocaml
parent8408136da7bec07a17f8cf0760f9162df8041e4e (diff)
downloadnixpkgs-be58ce4815dc40d94409b65e210425a24b3819c0.tar
nixpkgs-be58ce4815dc40d94409b65e210425a24b3819c0.tar.gz
nixpkgs-be58ce4815dc40d94409b65e210425a24b3819c0.tar.bz2
nixpkgs-be58ce4815dc40d94409b65e210425a24b3819c0.tar.lz
nixpkgs-be58ce4815dc40d94409b65e210425a24b3819c0.tar.xz
nixpkgs-be58ce4815dc40d94409b65e210425a24b3819c0.tar.zst
nixpkgs-be58ce4815dc40d94409b65e210425a24b3819c0.zip
google-drive-ocamlfuse: new expression
Diffstat (limited to 'pkgs/development/ocaml-modules/gapi-ocaml')
-rw-r--r--pkgs/development/ocaml-modules/gapi-ocaml/default.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/gapi-ocaml/default.nix b/pkgs/development/ocaml-modules/gapi-ocaml/default.nix
new file mode 100644
index 00000000000..51afb39ca65
--- /dev/null
+++ b/pkgs/development/ocaml-modules/gapi-ocaml/default.nix
@@ -0,0 +1,24 @@
+{ stdenv, fetchurl, ocaml, findlib, ocurl, cryptokit, ocaml_extlib, yojson, ocamlnet, xmlm }:
+
+stdenv.mkDerivation rec {
+  name = "gapi-ocaml-0.2.6";
+  src = fetchurl {
+    url = "https://forge.ocamlcore.org/frs/download.php/1468/${name}.tar.gz";
+    sha256 = "1sqsir07xxk9xy723l206r7d10sp6rfid9dvi0g34vbkvshm50y2";
+  };
+  buildInputs = [ ocaml findlib ];
+  propagatedBuildInputs = [ ocurl cryptokit ocaml_extlib yojson ocamlnet xmlm ];
+
+  configurePhase = "ocaml setup.ml -configure --prefix $out";
+  buildPhase = "ocaml setup.ml -build";
+  installPhase = "ocaml setup.ml -install";
+  createFindlibDestdir = true;
+
+  meta = {
+    description = "OCaml client for google services";
+    homepage = http://gapi-ocaml.forge.ocamlcore.org;
+    license = stdenv.lib.licenses.mit;
+    maintainers = with stdenv.lib.maintainers; [ bennofs ];
+    platforms = ocaml.meta.platforms;
+  };
+}