tcpdump: 4.9.0 -> 4.9.1
- fetch from GitHub instead of debian mirror
This commit is contained in:
parent
267efdc475
commit
c860c02def
|
@ -1,15 +1,16 @@
|
|||
{ stdenv, fetchurl, libpcap, enableStatic ? false
|
||||
{ stdenv, fetchFromGitHub, libpcap, enableStatic ? false
|
||||
, hostPlatform
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "tcpdump-${version}";
|
||||
version = "4.9.0";
|
||||
version = "4.9.1";
|
||||
|
||||
src = fetchurl {
|
||||
#url = "http://www.tcpdump.org/release/${name}.tar.gz";
|
||||
url = "mirror://debian/pool/main/t/tcpdump/tcpdump_${version}.orig.tar.gz";
|
||||
sha256 = "0pjsxsy8l71i813sa934cwf1ryp9xbr7nxwsvnzavjdirchq3sga";
|
||||
src = fetchFromGitHub rec {
|
||||
owner = "the-tcpdump-group";
|
||||
repo = "tcpdump";
|
||||
rev = "${repo}-${version}";
|
||||
sha256 = "1vzrvn1q7x28h18yskqc390y357pzpg5xd3pzzj4xz3llnvsr64p";
|
||||
};
|
||||
|
||||
buildInputs = [ libpcap ];
|
||||
|
|
Loading…
Reference in New Issue