summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/piqi-ocaml
diff options
context:
space:
mode:
authorMatthew Maurer <maurer@matthewmaurer.org>2015-06-10 23:00:52 +0200
committerMatthew Maurer <maurer@matthewmaurer.org>2015-06-27 16:54:20 +0000
commit9c0f1eefc616bcf7d83fb834d448d1b4aa6e434f (patch)
treeb465d098d910d8f18bf4e9450db9037e0ddd923c /pkgs/development/ocaml-modules/piqi-ocaml
parent8c875e76f091b60e641d31d03c2621e4ac47734f (diff)
downloadnixpkgs-9c0f1eefc616bcf7d83fb834d448d1b4aa6e434f.tar
nixpkgs-9c0f1eefc616bcf7d83fb834d448d1b4aa6e434f.tar.gz
nixpkgs-9c0f1eefc616bcf7d83fb834d448d1b4aa6e434f.tar.bz2
nixpkgs-9c0f1eefc616bcf7d83fb834d448d1b4aa6e434f.tar.lz
nixpkgs-9c0f1eefc616bcf7d83fb834d448d1b4aa6e434f.tar.xz
nixpkgs-9c0f1eefc616bcf7d83fb834d448d1b4aa6e434f.tar.zst
nixpkgs-9c0f1eefc616bcf7d83fb834d448d1b4aa6e434f.zip
piqi-ocaml: init at 0.7.4
Diffstat (limited to 'pkgs/development/ocaml-modules/piqi-ocaml')
-rw-r--r--pkgs/development/ocaml-modules/piqi-ocaml/default.nix24
1 files changed, 24 insertions, 0 deletions
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 00000000000..fea1ee15044
--- /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 ];
+  };
+}