2021-07-24 12:14:16 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, autoconf
|
|
|
|
, automake
|
|
|
|
, libtool
|
|
|
|
, pkg-config
|
|
|
|
, asciidoc
|
|
|
|
, libxslt
|
|
|
|
, libxml2
|
|
|
|
, docbook_xml_dtd_45
|
|
|
|
, docbook_xsl
|
|
|
|
, libarchive
|
|
|
|
, xz
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
2021-07-24 12:14:16 +00:00
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2021-07-24 12:14:16 +00:00
|
|
|
pname = "pixz";
|
2020-08-20 17:08:02 +00:00
|
|
|
version = "1.0.7";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2022-04-03 18:54:34 +00:00
|
|
|
nativeBuildInputs = [ pkg-config autoconf automake ];
|
2020-04-24 23:36:52 +00:00
|
|
|
buildInputs = [
|
2021-07-24 12:14:16 +00:00
|
|
|
libtool
|
|
|
|
asciidoc
|
|
|
|
libxslt
|
|
|
|
libxml2
|
|
|
|
docbook_xml_dtd_45
|
|
|
|
docbook_xsl
|
|
|
|
libarchive
|
|
|
|
xz
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
preBuild = ''
|
|
|
|
echo "XML_CATALOG_FILES='$XML_CATALOG_FILES'"
|
|
|
|
'';
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "vasi";
|
2021-07-24 12:14:16 +00:00
|
|
|
repo = pname;
|
2020-04-24 23:36:52 +00:00
|
|
|
rev = "v${version}";
|
2020-08-20 17:08:02 +00:00
|
|
|
sha256 = "163axxs22w7pghr786hda22mnlpvmi50hzhfr9axwyyjl9n41qs2";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
preConfigure = ''
|
|
|
|
./autogen.sh
|
|
|
|
'';
|
|
|
|
|
2021-07-24 12:14:16 +00:00
|
|
|
meta = with lib; {
|
2021-02-05 17:12:51 +00:00
|
|
|
description = "A parallel compressor/decompressor for xz format";
|
2021-07-24 12:14:16 +00:00
|
|
|
license = licenses.bsd2;
|
|
|
|
maintainers = [ maintainers.raskin ];
|
|
|
|
platforms = platforms.unix;
|
2024-01-02 11:29:13 +00:00
|
|
|
mainProgram = "pixz";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|