mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
esniper: fix mismatched 'src' attribute
This commit is contained in:
parent
9b0649ae3e
commit
4a64a7aef5
1 changed files with 5 additions and 7 deletions
|
@ -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 ];
|
||||
|
||||
|
|
Loading…
Reference in a new issue