From 9c0f1eefc616bcf7d83fb834d448d1b4aa6e434f Mon Sep 17 00:00:00 2001 From: Matthew Maurer Date: Wed, 10 Jun 2015 23:00:52 +0200 Subject: piqi-ocaml: init at 0.7.4 --- .../ocaml-modules/piqi-ocaml/default.nix | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 pkgs/development/ocaml-modules/piqi-ocaml/default.nix (limited to 'pkgs/development/ocaml-modules/piqi-ocaml/default.nix') diff --git a/pkgs/development/ocaml-modules/piqi-ocaml/default.nix b/pkgs/development/ocaml-modules/piqi-ocaml/default.nix new file mode 100644 index 0000000000000..fea1ee1504469 --- /dev/null +++ b/pkgs/development/ocaml-modules/piqi-ocaml/default.nix @@ -0,0 +1,24 @@ +{stdenv, fetchurl, ocaml, findlib, piqi, ulex, easy-format, xmlm, base64, camlp4}: + +stdenv.mkDerivation rec { + version = "0.7.4"; + name = "piqi-ocaml-${version}"; + + src = fetchurl { + url = "https://github.com/alavrik/piqi-ocaml/archive/v${version}.tar.gz"; + sha256 = "064c74f031l847q6s1vilj77n7h7i84jn8c83yid9nha3dssaf7m"; + }; + + buildInputs = [ocaml findlib piqi base64 camlp4]; + + createFindlibDestdir = true; + + installPhase = "DESTDIR=$out make install"; + + meta = with stdenv.lib; { + homepage = http://piqi.org; + description = "Universal schema language and a collection of tools built around it. These are the ocaml bindings."; + license = licenses.asl20; + maintainers = [ maintainers.maurer ]; + }; +} -- cgit 1.4.1