2018-07-17 22:11:16 +02:00
|
|
|
{
|
2015-12-12 17:38:45 +01:00
|
|
|
stdenv, fetchFromGitHub, autoconf, automake, libtool, pkgconfig
|
2018-07-17 22:11:16 +02:00
|
|
|
, asciidoc, libxslt, libxml2, docbook_xml_dtd_45, docbook_xsl
|
2015-12-12 17:38:45 +01:00
|
|
|
, libarchive, lzma
|
|
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
baseName = "pixz";
|
|
|
|
version = "1.0.6";
|
|
|
|
name = "${baseName}-${version}";
|
|
|
|
|
2017-09-14 21:24:37 +02:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2015-12-12 17:38:45 +01:00
|
|
|
buildInputs = [
|
2017-09-14 21:24:37 +02:00
|
|
|
autoconf automake libtool asciidoc libxslt libxml2
|
2018-07-17 22:11:16 +02:00
|
|
|
docbook_xml_dtd_45 docbook_xsl
|
2015-12-12 17:38:45 +01:00
|
|
|
libarchive lzma
|
|
|
|
];
|
|
|
|
preBuild = ''
|
|
|
|
echo "XML_CATALOG_FILES='$XML_CATALOG_FILES'"
|
|
|
|
'';
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "vasi";
|
|
|
|
repo = baseName;
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "0q61wqg2yxrgd4nc7256mf7izp92is29ll3rax1cxr6fj9jrd8b7";
|
|
|
|
};
|
|
|
|
preConfigure = ''
|
|
|
|
./autogen.sh
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
inherit version;
|
|
|
|
description = ''A parallel compressor/decompressor for xz format'';
|
|
|
|
license = stdenv.lib.licenses.bsd2;
|
|
|
|
maintainers = [stdenv.lib.maintainers.raskin];
|
2016-12-26 21:57:02 +01:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2015-12-12 17:38:45 +01:00
|
|
|
};
|
|
|
|
}
|