pixz: cleanup
This commit is contained in:
parent
d04efb055c
commit
ab4a6cbdaf
|
@ -1,25 +1,42 @@
|
||||||
{
|
{ lib
|
||||||
lib, stdenv, fetchFromGitHub, autoconf, automake, libtool, pkg-config
|
, stdenv
|
||||||
, asciidoc, libxslt, libxml2, docbook_xml_dtd_45, docbook_xsl
|
, fetchFromGitHub
|
||||||
, libarchive, xz
|
, autoconf
|
||||||
|
, automake
|
||||||
|
, libtool
|
||||||
|
, pkg-config
|
||||||
|
, asciidoc
|
||||||
|
, libxslt
|
||||||
|
, libxml2
|
||||||
|
, docbook_xml_dtd_45
|
||||||
|
, docbook_xsl
|
||||||
|
, libarchive
|
||||||
|
, xz
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
baseName = "pixz";
|
pname = "pixz";
|
||||||
version = "1.0.7";
|
version = "1.0.7";
|
||||||
name = "${baseName}-${version}";
|
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config ];
|
nativeBuildInputs = [ pkg-config ];
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
autoconf automake libtool asciidoc libxslt libxml2
|
autoconf
|
||||||
docbook_xml_dtd_45 docbook_xsl
|
automake
|
||||||
libarchive xz
|
libtool
|
||||||
|
asciidoc
|
||||||
|
libxslt
|
||||||
|
libxml2
|
||||||
|
docbook_xml_dtd_45
|
||||||
|
docbook_xsl
|
||||||
|
libarchive
|
||||||
|
xz
|
||||||
];
|
];
|
||||||
preBuild = ''
|
preBuild = ''
|
||||||
echo "XML_CATALOG_FILES='$XML_CATALOG_FILES'"
|
echo "XML_CATALOG_FILES='$XML_CATALOG_FILES'"
|
||||||
'';
|
'';
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "vasi";
|
owner = "vasi";
|
||||||
repo = baseName;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "163axxs22w7pghr786hda22mnlpvmi50hzhfr9axwyyjl9n41qs2";
|
sha256 = "163axxs22w7pghr786hda22mnlpvmi50hzhfr9axwyyjl9n41qs2";
|
||||||
};
|
};
|
||||||
|
@ -27,10 +44,10 @@ stdenv.mkDerivation rec {
|
||||||
./autogen.sh
|
./autogen.sh
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = with lib; {
|
||||||
description = "A parallel compressor/decompressor for xz format";
|
description = "A parallel compressor/decompressor for xz format";
|
||||||
license = lib.licenses.bsd2;
|
license = licenses.bsd2;
|
||||||
maintainers = [lib.maintainers.raskin];
|
maintainers = [ maintainers.raskin ];
|
||||||
platforms = lib.platforms.unix;
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue