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
24
pkgs/tools/networking/dnstop/default.nix
Normal file
24
pkgs/tools/networking/dnstop/default.nix
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
{ lib, stdenv, fetchurl, libpcap, ncurses }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "dnstop";
|
||||
version = "2014-09-15";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://dns.measurement-factory.com/tools/dnstop/src/dnstop-${lib.replaceStrings ["-"] [""] version}.tar.gz";
|
||||
sha256 = "0yn5s2825l826506gclbcfk3lzllx9brk9rzja6yj5jv0013vc5l";
|
||||
};
|
||||
|
||||
buildInputs = [ libpcap ncurses ];
|
||||
|
||||
preInstall = ''
|
||||
mkdir -p $out/share/man/man8 $out/bin
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "libpcap application that displays DNS traffic on your network";
|
||||
homepage = "http://dns.measurement-factory.com/tools/dnstop";
|
||||
license = lib.licenses.bsd3;
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue