tcpdump: 4.9.0 -> 4.9.1

- fetch from GitHub instead of debian mirror
This commit is contained in:
WilliButz 2017-08-21 19:55:42 +02:00 committed by Robin Gloster
parent 267efdc475
commit c860c02def
1 changed files with 7 additions and 6 deletions

View File

@ -1,15 +1,16 @@
{ stdenv, fetchurl, libpcap, enableStatic ? false { stdenv, fetchFromGitHub, libpcap, enableStatic ? false
, hostPlatform , hostPlatform
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "tcpdump-${version}"; name = "tcpdump-${version}";
version = "4.9.0"; version = "4.9.1";
src = fetchurl { src = fetchFromGitHub rec {
#url = "http://www.tcpdump.org/release/${name}.tar.gz"; owner = "the-tcpdump-group";
url = "mirror://debian/pool/main/t/tcpdump/tcpdump_${version}.orig.tar.gz"; repo = "tcpdump";
sha256 = "0pjsxsy8l71i813sa934cwf1ryp9xbr7nxwsvnzavjdirchq3sga"; rev = "${repo}-${version}";
sha256 = "1vzrvn1q7x28h18yskqc390y357pzpg5xd3pzzj4xz3llnvsr64p";
}; };
buildInputs = [ libpcap ]; buildInputs = [ libpcap ];