esniper: fix mismatched 'src' attribute

This commit is contained in:
Peter Simons 2018-09-01 11:16:50 +02:00
parent 9b0649ae3e
commit 4a64a7aef5

View File

@ -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 ];