2015-06-10 22:00:52 +01:00
|
|
|
{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;
|
2016-02-27 17:24:00 +00:00
|
|
|
description = "Universal schema language and a collection of tools built around it. These are the ocaml bindings";
|
2015-06-10 22:00:52 +01:00
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = [ maintainers.maurer ];
|
|
|
|
};
|
|
|
|
}
|