1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-23 07:26:54 +00:00
nixpkgs/pkgs/tools/compression/pixz/default.nix

54 lines
909 B
Nix
Raw Normal View History

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