uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
51
pkgs/tools/compression/pixz/default.nix
Normal file
51
pkgs/tools/compression/pixz/default.nix
Normal file
|
|
@ -0,0 +1,51 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, autoconf
|
||||
, automake
|
||||
, libtool
|
||||
, pkg-config
|
||||
, asciidoc
|
||||
, libxslt
|
||||
, libxml2
|
||||
, docbook_xml_dtd_45
|
||||
, docbook_xsl
|
||||
, libarchive
|
||||
, xz
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "pixz";
|
||||
version = "1.0.7";
|
||||
|
||||
nativeBuildInputs = [ pkg-config autoconf automake ];
|
||||
buildInputs = [
|
||||
libtool
|
||||
asciidoc
|
||||
libxslt
|
||||
libxml2
|
||||
docbook_xml_dtd_45
|
||||
docbook_xsl
|
||||
libarchive
|
||||
xz
|
||||
];
|
||||
preBuild = ''
|
||||
echo "XML_CATALOG_FILES='$XML_CATALOG_FILES'"
|
||||
'';
|
||||
src = fetchFromGitHub {
|
||||
owner = "vasi";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "163axxs22w7pghr786hda22mnlpvmi50hzhfr9axwyyjl9n41qs2";
|
||||
};
|
||||
preConfigure = ''
|
||||
./autogen.sh
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A parallel compressor/decompressor for xz format";
|
||||
license = licenses.bsd2;
|
||||
maintainers = [ maintainers.raskin ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue