mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
wireshark: update to 1.12.1 (latest stable)
There are no references to g_memmove in the source anymore, so remove the now unneeded (and failing!) sed fixup. Sourceforge no longer has wireshark sources, the page tells users to download from www.wireshark.org instead. So do that.
This commit is contained in:
parent
71230bafab
commit
1daa2e5a7e
1 changed files with 3 additions and 7 deletions
|
@ -3,14 +3,14 @@
|
|||
, libcap
|
||||
}:
|
||||
|
||||
let version = "1.11.2"; in
|
||||
let version = "1.12.1"; in
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "wireshark-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/wireshark/wireshark-${version}.tar.bz2";
|
||||
sha256 = "077hjnmqn44s8dx3pc38bxps5liicjnhzrnf6ky2x60m2cp7ngr3";
|
||||
url = "http://www.wireshark.org/download/src/wireshark-${version}.tar.bz2";
|
||||
sha256 = "0jsqpr4s5smadvlm881l8fkhhw384ak3apkq4wxr05gc2va6pcl2";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
|
@ -20,10 +20,6 @@ stdenv.mkDerivation {
|
|||
|
||||
patches = [ ./wireshark-lookup-dumpcap-in-path.patch ];
|
||||
|
||||
preConfigure = ''
|
||||
sed -re 's/g_memmove/memmove/' -i $(grep -rl g_memmove .)
|
||||
'';
|
||||
|
||||
configureFlags = "--disable-usr-local --disable-silent-rules --with-gtk2 --without-gtk3 --without-qt --with-ssl";
|
||||
|
||||
desktopItem = makeDesktopItem {
|
||||
|
|
Loading…
Reference in a new issue