@@ -0,0 +1,36 @@
1+{
2+ stdenv, fetchFromGitHub, autoconf, automake, libtool, pkgconfig
3+ , asciidoc, libxslt, libxml2, docbook_xml_dtd_45, docbook_xml_xslt
4+ , libarchive, lzma
5+}:
6+stdenv.mkDerivation rec {
7+ baseName = "pixz";
8+ version = "1.0.6";
9+ name = "${baseName}-${version}";
10+
11+ buildInputs = [
12+ autoconf automake libtool pkgconfig asciidoc libxslt libxml2
13+ docbook_xml_dtd_45 docbook_xml_xslt
14+ libarchive lzma
15+ ];
16+ preBuild = ''
17+ echo "XML_CATALOG_FILES='$XML_CATALOG_FILES'"
18+ '';
19+ src = fetchFromGitHub {
20+ owner = "vasi";
21+ repo = baseName;
22+ rev = "v${version}";
23+ sha256 = "0q61wqg2yxrgd4nc7256mf7izp92is29ll3rax1cxr6fj9jrd8b7";
24+ };
25+ preConfigure = ''
26+ ./autogen.sh
27+ '';
28+
29+ meta = {
30+ inherit version;
31+ description = ''A parallel compressor/decompressor for xz format'';
32+ license = stdenv.lib.licenses.bsd2;
33+ maintainers = [stdenv.lib.maintainers.raskin];
34+ platforms = stdenv.lib.platforms.linux;
35+ };
36+}