diff options
author | Matthew Maurer <maurer@matthewmaurer.org> | 2015-06-10 22:35:22 +0200 |
---|---|---|
committer | Matthew Maurer <maurer@matthewmaurer.org> | 2015-06-27 16:54:20 +0000 |
commit | 1d79d840b126ccebb21e4cd5ff1022d81141fab5 (patch) | |
tree | fa8e37da17e8dabba58851abbdd9ea06a57ace85 /pkgs/development/ocaml-modules/piqi/default.nix | |
parent | 90a4de0f1b70db2e8f9a47d04a11919fc798e652 (diff) | |
download | nixpkgs-1d79d840b126ccebb21e4cd5ff1022d81141fab5.tar nixpkgs-1d79d840b126ccebb21e4cd5ff1022d81141fab5.tar.gz nixpkgs-1d79d840b126ccebb21e4cd5ff1022d81141fab5.tar.bz2 nixpkgs-1d79d840b126ccebb21e4cd5ff1022d81141fab5.tar.lz nixpkgs-1d79d840b126ccebb21e4cd5ff1022d81141fab5.tar.xz nixpkgs-1d79d840b126ccebb21e4cd5ff1022d81141fab5.tar.zst nixpkgs-1d79d840b126ccebb21e4cd5ff1022d81141fab5.zip |
piqi: init at 0.6.12
Diffstat (limited to 'pkgs/development/ocaml-modules/piqi/default.nix')
-rw-r--r-- | pkgs/development/ocaml-modules/piqi/default.nix | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/piqi/default.nix b/pkgs/development/ocaml-modules/piqi/default.nix new file mode 100644 index 00000000000..7cca68c4f79 --- /dev/null +++ b/pkgs/development/ocaml-modules/piqi/default.nix @@ -0,0 +1,30 @@ +{stdenv, fetchurl, ocaml, findlib, camlp4, which, ulex, easy-format, ocaml_optcomp, xmlm, base64}: + +stdenv.mkDerivation rec { + version = "0.6.12"; + name = "piqi-${version}"; + + src = fetchurl { + url = "https://github.com/alavrik/piqi/archive/v${version}.tar.gz"; + sha256 = "1ifnawnblvibf5rgp6gr4f20266dckfrlryikg1iiq3dx2wfl7f8"; + }; + + buildInputs = [ocaml findlib camlp4 which ocaml_optcomp base64]; + propagatedBuildInputs = [ulex xmlm easy-format]; + + patches = [ ./no-ocamlpath-override.patch ]; + + createFindlibDestdir = true; + + installPhase = '' + make install; + make ocaml-install; + ''; + + meta = with stdenv.lib; { + homepage = http://piqi.org; + description = "Universal schema language and a collection of tools built around it."; + license = licenses.asl20; + maintainers = [ maintainers.maurer ]; + }; +} |