2021-07-21 13:45:43 +02:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, autoconf
|
|
|
|
, automake
|
|
|
|
, libtool
|
|
|
|
, pkg-config
|
|
|
|
, asciidoc
|
|
|
|
, libxslt
|
|
|
|
, libxml2
|
|
|
|
, docbook_xml_dtd_45
|
|
|
|
, docbook_xsl
|
|
|
|
, libarchive
|
|
|
|
, xz
|
2015-12-12 17:38:45 +01:00
|
|
|
}:
|
2021-07-21 13:45:43 +02:00
|
|
|
|
2015-12-12 17:38:45 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2021-07-21 13:45:43 +02:00
|
|
|
pname = "pixz";
|
2020-07-28 00:04:52 +02:00
|
|
|
version = "1.0.7";
|
2015-12-12 17:38:45 +01:00
|
|
|
|
2021-01-17 10:17:16 +01:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2015-12-12 17:38:45 +01:00
|
|
|
buildInputs = [
|
2021-07-21 13:45:43 +02:00
|
|
|
autoconf
|
|
|
|
automake
|
|
|
|
libtool
|
|
|
|
asciidoc
|
|
|
|
libxslt
|
|
|
|
libxml2
|
|
|
|
docbook_xml_dtd_45
|
|
|
|
docbook_xsl
|
|
|
|
libarchive
|
|
|
|
xz
|
2015-12-12 17:38:45 +01:00
|
|
|
];
|
|
|
|
preBuild = ''
|
|
|
|
echo "XML_CATALOG_FILES='$XML_CATALOG_FILES'"
|
|
|
|
'';
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "vasi";
|
2021-07-21 13:45:43 +02:00
|
|
|
repo = pname;
|
2015-12-12 17:38:45 +01:00
|
|
|
rev = "v${version}";
|
2020-07-28 00:04:52 +02:00
|
|
|
sha256 = "163axxs22w7pghr786hda22mnlpvmi50hzhfr9axwyyjl9n41qs2";
|
2015-12-12 17:38:45 +01:00
|
|
|
};
|
|
|
|
preConfigure = ''
|
|
|
|
./autogen.sh
|
|
|
|
'';
|
|
|
|
|
2021-07-21 13:45:43 +02:00
|
|
|
meta = with lib; {
|
2021-01-24 10:19:10 +01:00
|
|
|
description = "A parallel compressor/decompressor for xz format";
|
2021-07-21 13:45:43 +02:00
|
|
|
license = licenses.bsd2;
|
|
|
|
maintainers = [ maintainers.raskin ];
|
|
|
|
platforms = platforms.unix;
|
2015-12-12 17:38:45 +01:00
|
|
|
};
|
|
|
|
}
|