nixpkgs/pkgs/tools/compression/pixz/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

52 lines
901 B
Nix
Raw Normal View History

2021-07-21 11:45:43 +00: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 11:45:43 +00:00
2015-12-12 16:38:45 +00:00
stdenv.mkDerivation rec {
2021-07-21 11:45:43 +00:00
pname = "pixz";
2020-07-27 22:04:52 +00:00
version = "1.0.7";
2015-12-12 16:38:45 +00:00
nativeBuildInputs = [ pkg-config autoconf automake ];
2015-12-12 16:38:45 +00:00
buildInputs = [
2021-07-21 11:45:43 +00:00
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 11:45:43 +00:00
repo = pname;
2015-12-12 16:38:45 +00:00
rev = "v${version}";
2020-07-27 22:04:52 +00:00
sha256 = "163axxs22w7pghr786hda22mnlpvmi50hzhfr9axwyyjl9n41qs2";
2015-12-12 16:38:45 +00:00
};
preConfigure = ''
./autogen.sh
'';
2021-07-21 11:45:43 +00:00
meta = with lib; {
description = "A parallel compressor/decompressor for xz format";
2021-07-21 11:45:43 +00:00
license = licenses.bsd2;
maintainers = [ maintainers.raskin ];
platforms = platforms.unix;
2015-12-12 16:38:45 +00:00
};
}