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
34
pkgs/tools/misc/lrzsz/default.nix
Normal file
34
pkgs/tools/misc/lrzsz/default.nix
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
{ lib, stdenv, gettext, fetchurl, fetchpatch }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "lrzsz";
|
||||
version = "0.12.20";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://ohse.de/uwe/releases/lrzsz-${version}.tar.gz";
|
||||
sha256 = "1wcgfa9fsigf1gri74gq0pa7pyajk12m4z69x7ci9c6x9fqkd2y2";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
name = "CVE-2018-10195.patch";
|
||||
url = "https://bugzilla.redhat.com/attachment.cgi?id=79507";
|
||||
sha256 = "0jlh8w0cjaz6k56f0h3a0h4wgc51axmrdn3mdspk7apjfzqcvx3c";
|
||||
})
|
||||
];
|
||||
|
||||
makeFlags = [ "AR:=$(AR)" ];
|
||||
|
||||
nativeBuildInputs = [ gettext ];
|
||||
|
||||
hardeningDisable = [ "format" ];
|
||||
|
||||
configureFlags = [ "--program-transform-name=s/^l//" ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://ohse.de/uwe/software/lrzsz.html";
|
||||
description = "Communication package providing the XMODEM, YMODEM ZMODEM file transfer protocols";
|
||||
license = licenses.gpl2;
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue