git.iko.soy/typeable/nixpkgs
on master help sign in
piqi-ocaml: init at 0.7.4
commit9c0f1eefc616bcf7d83fb834d448d1b4aa6e434f authorMatthew Maurer <maurer@matthewmaurer.org> dateWed 10 Jun 2015, 23:00 (11 years ago) parent8c875e7
2 files changed+25
pkgs/development/ocaml-modules/piqi-ocaml/default.nix+24 pkgs/top-level/all-packages.nix+1
pkgs/development/ocaml-modules/piqi-ocaml/default.nixnew file+24
@@ -0,0 +1,24 @@
1+{stdenv, fetchurl, ocaml, findlib, piqi, ulex, easy-format, xmlm, base64, camlp4}:
2+
3+stdenv.mkDerivation rec {
4+ version = "0.7.4";
5+ name = "piqi-ocaml-${version}";
6+
7+ src = fetchurl {
8+ url = "https://github.com/alavrik/piqi-ocaml/archive/v${version}.tar.gz";
9+ sha256 = "064c74f031l847q6s1vilj77n7h7i84jn8c83yid9nha3dssaf7m";
10+ };
11+
12+ buildInputs = [ocaml findlib piqi base64 camlp4];
13+
14+ createFindlibDestdir = true;
15+
16+ installPhase = "DESTDIR=$out make install";
17+
18+ meta = with stdenv.lib; {
19+ homepage = http://piqi.org;
20+ description = "Universal schema language and a collection of tools built around it. These are the ocaml bindings.";
21+ license = licenses.asl20;
22+ maintainers = [ maintainers.maurer ];
23+ };
24+}
pkgs/top-level/all-packages.nix+1
@@ -4481,6 +4481,7 @@ let
44814481 ounit = callPackage ../development/ocaml-modules/ounit { };
44824482
44834483 piqi = callPackage ../development/ocaml-modules/piqi { };
4484+ piqi-ocaml = callPackage ../development/ocaml-modules/piqi-ocaml { };
44844485
44854486 re2 = callPackage ../development/ocaml-modules/re2 { };
44864487