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/networking/tcptraceroute/default.nix
Normal file
34
pkgs/tools/networking/tcptraceroute/default.nix
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, libpcap
|
||||
, libnet
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "tcptraceroute";
|
||||
version = "1.5beta7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mct";
|
||||
repo = "tcptraceroute";
|
||||
rev = "${pname}-${version}";
|
||||
hash = "sha256-KU4MLWtOFzzNr+I99fRbhBokhS1JUNL+OgVltkOGav4=";
|
||||
};
|
||||
|
||||
|
||||
# for reasons unknown --disable-static configure flag doesn't disable static
|
||||
# linking.. we instead override CFLAGS with -static omitted
|
||||
preBuild = ''
|
||||
makeFlagsArray=(CFLAGS=" -g -O2 -Wall")
|
||||
'';
|
||||
|
||||
buildInputs = [ libpcap libnet ];
|
||||
|
||||
meta = {
|
||||
description = "A traceroute implementation using TCP packets";
|
||||
homepage = "https://github.com/mct/tcptraceroute";
|
||||
license = lib.licenses.gpl2;
|
||||
maintainers = [ ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue