depot/third_party/nixpkgs/pkgs/tools/compression/pixz/default.nix
Default email 0eaa97ffad Project import generated by Copybara.
GitOrigin-RevId: c59ea8b8a0e7f927e7291c14ea6cd1bd3a16ff38
2020-08-20 19:08:02 +02:00

37 lines
957 B
Nix

{
stdenv, fetchFromGitHub, autoconf, automake, libtool, pkgconfig
, asciidoc, libxslt, libxml2, docbook_xml_dtd_45, docbook_xsl
, libarchive, lzma
}:
stdenv.mkDerivation rec {
baseName = "pixz";
version = "1.0.7";
name = "${baseName}-${version}";
nativeBuildInputs = [ pkgconfig ];
buildInputs = [
autoconf automake libtool asciidoc libxslt libxml2
docbook_xml_dtd_45 docbook_xsl
libarchive lzma
];
preBuild = ''
echo "XML_CATALOG_FILES='$XML_CATALOG_FILES'"
'';
src = fetchFromGitHub {
owner = "vasi";
repo = baseName;
rev = "v${version}";
sha256 = "163axxs22w7pghr786hda22mnlpvmi50hzhfr9axwyyjl9n41qs2";
};
preConfigure = ''
./autogen.sh
'';
meta = {
inherit version;
description = ''A parallel compressor/decompressor for xz format'';
license = stdenv.lib.licenses.bsd2;
maintainers = [stdenv.lib.maintainers.raskin];
platforms = stdenv.lib.platforms.unix;
};
}