nixpkgs/pkgs/development/ocaml-modules/piqi-ocaml/default.nix

25 lines
720 B
Nix
Raw Normal View History

2017-01-25 07:06:38 +00:00
{ stdenv, fetchurl, ocaml, findlib, piqi, ulex, easy-format, xmlm, camlp4 }:
2015-06-10 21:00:52 +00:00
stdenv.mkDerivation rec {
2016-06-07 17:37:38 +00:00
version = "0.7.5";
2015-06-10 21:00:52 +00:00
name = "piqi-ocaml-${version}";
src = fetchurl {
url = "https://github.com/alavrik/piqi-ocaml/archive/v${version}.tar.gz";
2016-06-07 17:37:38 +00:00
sha256 = "0ngz6y8i98i5v2ma8nk6mc83pdsmf2z0ks7m3xi6clfg3zqbddrv";
2015-06-10 21:00:52 +00:00
};
2017-01-25 07:06:38 +00:00
buildInputs = [ ocaml findlib piqi camlp4 ];
2015-06-10 21:00:52 +00:00
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";
2015-06-10 21:00:52 +00:00
license = licenses.asl20;
maintainers = [ maintainers.maurer ];
};
}