diff options
author | Peter Simons <simons@cryp.to> | 2018-09-01 11:16:50 +0200 |
---|---|---|
committer | Peter Simons <simons@cryp.to> | 2018-09-01 11:16:50 +0200 |
commit | 4a64a7aef55d8a21b0d1f0769559d7860e82f789 (patch) | |
tree | c8a371725bc9867dd99aab18a022b47d0804c59d /pkgs/applications/networking/esniper | |
parent | 9b0649ae3ebcdbc67e81f1648dd7f52054301b86 (diff) |
esniper: fix mismatched 'src' attribute
Diffstat (limited to 'pkgs/applications/networking/esniper')
-rw-r--r-- | pkgs/applications/networking/esniper/default.nix | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/pkgs/applications/networking/esniper/default.nix b/pkgs/applications/networking/esniper/default.nix index a7d10adc0a75d..ca4d8f2f49fe8 100644 --- a/pkgs/applications/networking/esniper/default.nix +++ b/pkgs/applications/networking/esniper/default.nix @@ -1,14 +1,12 @@ -{ stdenv, fetchFromGitHub, openssl, curl, coreutils, gawk, bash, which }: +{ stdenv, fetchurl, openssl, curl, coreutils, gawk, bash, which }: stdenv.mkDerivation rec { name = "esniper-2.35.0"; - src = fetchFromGitHub { - owner = "yhfudev"; - repo = "esniper"; - rev = "c95140d376db3c991300a7462e6c172b0ccf3eb5"; - sha256 = "1dfb5hmcrvm3yg9ask362c6s5ylxs21szw23dm737a94br37j890"; - }; + src = fetchurl { + url = "mirror://sourceforge/esniper/${stdenv.lib.replaceStrings ["."] ["-"] name}.tgz"; + sha256 = "04iwjb42lw90c03125bjdpnm0fp78dmwf2j35r7mah0nwcrlagd9"; + }; buildInputs = [ openssl curl ]; |