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:
Anton Arapov 2021-04-03 12:58:10 +02:00 committed by Alan Daniels
commit 56de2bcd43
30691 changed files with 3076956 additions and 0 deletions

View file

@ -0,0 +1,41 @@
{ lib, stdenv, fetchurl, pkg-config, protobuf, openssl, libpcap, traceroute
, withGUI ? false, qt5 }:
let inherit (lib) optional;
in
stdenv.mkDerivation rec {
pname = "spoofer";
version = "1.4.7";
src = fetchurl {
url = "https://www.caida.org/projects/spoofer/downloads/${pname}-${version}.tar.gz";
sha256 = "sha256-6ov1dZbxmBRIhfIzUaxiaHUeiU6SbNKhiQX1W4lmhD8=";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ openssl protobuf libpcap traceroute ]
++ optional withGUI qt5.qtbase ;
dontWrapQtApps = true;
meta = with lib; {
homepage = "https://www.caida.org/projects/spoofer";
description = "Assess and report on deployment of source address validation";
longDescription = ''
Spoofer is a new client-server system for Windows, MacOS, and
UNIX-like systems that periodically tests a network's ability to
both send and receive packets with forged source IP addresses
(spoofed packets). This can be used to produce reports and
visualizations to inform operators, response teams, and policy
analysts. The system measures different types of forged
addresses, including private and neighboring addresses. The
test results allows to analyze characteristics of networks
deploying source address validation (e.g., network location,
business type).
'';
platforms = platforms.all;
license = licenses.gpl3Plus;
maintainers = with lib.maintainers; [ leenaars];
};
}