Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, stdenv 3, fetchFromGitHub 4, autoconf 5, automake 6, libtool 7, pkg-config 8, asciidoc 9, libxslt 10, libxml2 11, docbook_xml_dtd_45 12, docbook_xsl 13, libarchive 14, xz 15}: 16 17stdenv.mkDerivation rec { 18 pname = "pixz"; 19 version = "1.0.7"; 20 21 nativeBuildInputs = [ pkg-config autoconf automake ]; 22 buildInputs = [ 23 libtool 24 asciidoc 25 libxslt 26 libxml2 27 docbook_xml_dtd_45 28 docbook_xsl 29 libarchive 30 xz 31 ]; 32 preBuild = '' 33 echo "XML_CATALOG_FILES='$XML_CATALOG_FILES'" 34 ''; 35 src = fetchFromGitHub { 36 owner = "vasi"; 37 repo = pname; 38 rev = "v${version}"; 39 sha256 = "163axxs22w7pghr786hda22mnlpvmi50hzhfr9axwyyjl9n41qs2"; 40 }; 41 preConfigure = '' 42 ./autogen.sh 43 ''; 44 45 meta = with lib; { 46 description = "A parallel compressor/decompressor for xz format"; 47 license = licenses.bsd2; 48 maintainers = [ maintainers.raskin ]; 49 platforms = platforms.unix; 50 }; 51}