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/development/ocaml-modules/gapi-ocaml/default.nix | |
parent | 8408136da7bec07a17f8cf0760f9162df8041e4e (diff) |
google-drive-ocamlfuse: new expression
Diffstat (limited to 'pkgs/development/ocaml-modules/gapi-ocaml/default.nix')
-rw-r--r-- | pkgs/development/ocaml-modules/gapi-ocaml/default.nix | 24 |
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 0000000000000..51afb39ca6593 --- /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; + }; +} |