2018-07-17 20:11:16 +00:00
|
|
|
{
|
2021-01-17 09:17:16 +00:00
|
|
|
lib, stdenv, fetchFromGitHub, autoconf, automake, libtool, pkg-config
|
2018-07-17 20:11:16 +00:00
|
|
|
, asciidoc, libxslt, libxml2, docbook_xml_dtd_45, docbook_xsl
|
2021-03-14 18:12:53 +00:00
|
|
|
, libarchive, xz
|
2015-12-12 16:38:45 +00:00
|
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
baseName = "pixz";
|
2020-07-27 22:04:52 +00:00
|
|
|
version = "1.0.7";
|
2015-12-12 16:38:45 +00:00
|
|
|
name = "${baseName}-${version}";
|
|
|
|
|
2021-01-17 09:17:16 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2015-12-12 16:38:45 +00:00
|
|
|
buildInputs = [
|
2017-09-14 19:24:37 +00:00
|
|
|
autoconf automake libtool asciidoc libxslt libxml2
|
2018-07-17 20:11:16 +00:00
|
|
|
docbook_xml_dtd_45 docbook_xsl
|
2021-03-14 18:12:53 +00:00
|
|
|
libarchive xz
|
2015-12-12 16:38:45 +00:00
|
|
|
];
|
|
|
|
preBuild = ''
|
|
|
|
echo "XML_CATALOG_FILES='$XML_CATALOG_FILES'"
|
|
|
|
'';
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "vasi";
|
|
|
|
repo = baseName;
|
|
|
|
rev = "v${version}";
|
2020-07-27 22:04:52 +00:00
|
|
|
sha256 = "163axxs22w7pghr786hda22mnlpvmi50hzhfr9axwyyjl9n41qs2";
|
2015-12-12 16:38:45 +00:00
|
|
|
};
|
|
|
|
preConfigure = ''
|
|
|
|
./autogen.sh
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
2021-01-24 09:19:10 +00:00
|
|
|
description = "A parallel compressor/decompressor for xz format";
|
2021-01-15 09:19:50 +00:00
|
|
|
license = lib.licenses.bsd2;
|
|
|
|
maintainers = [lib.maintainers.raskin];
|
|
|
|
platforms = lib.platforms.unix;
|
2015-12-12 16:38:45 +00:00
|
|
|
};
|
|
|
|
}
|