From 4a64a7aef55d8a21b0d1f0769559d7860e82f789 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Sat, 1 Sep 2018 11:16:50 +0200 Subject: [PATCH] esniper: fix mismatched 'src' attribute --- pkgs/applications/networking/esniper/default.nix | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/pkgs/applications/networking/esniper/default.nix b/pkgs/applications/networking/esniper/default.nix index a7d10adc0a75..ca4d8f2f49fe 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 ];