about summary refs log tree commit diff
path: root/pkgs/applications/networking/esniper
diff options
context:
space:
mode:
authorMatthew O'Gorman <mog@rldn.net>2017-12-12 11:34:30 -0500
committerOrivej Desh <orivej@gmx.fr>2017-12-17 03:54:23 +0000
commitd7426b378e7cc6edcc26068740ffa5e3554d27cd (patch)
tree81338b25ef37657c43921e4b377a64778d804749 /pkgs/applications/networking/esniper
parent2bac63f216370530585d368f16025aac26fa7292 (diff)
downloadnixlib-d7426b378e7cc6edcc26068740ffa5e3554d27cd.tar
nixlib-d7426b378e7cc6edcc26068740ffa5e3554d27cd.tar.gz
nixlib-d7426b378e7cc6edcc26068740ffa5e3554d27cd.tar.bz2
nixlib-d7426b378e7cc6edcc26068740ffa5e3554d27cd.tar.lz
nixlib-d7426b378e7cc6edcc26068740ffa5e3554d27cd.tar.xz
nixlib-d7426b378e7cc6edcc26068740ffa5e3554d27cd.tar.zst
nixlib-d7426b378e7cc6edcc26068740ffa5e3554d27cd.zip
esniper: 2.33.0 -> 2.33.0.2017-11-06
esniper from sourceforge is incompatible with latest changes on ebay. This is a fork used by arch that has the problem solved.
Diffstat (limited to 'pkgs/applications/networking/esniper')
-rw-r--r--pkgs/applications/networking/esniper/default.nix12
1 files changed, 7 insertions, 5 deletions
diff --git a/pkgs/applications/networking/esniper/default.nix b/pkgs/applications/networking/esniper/default.nix
index b7bc2c6c67a0..80984208460b 100644
--- a/pkgs/applications/networking/esniper/default.nix
+++ b/pkgs/applications/networking/esniper/default.nix
@@ -1,11 +1,13 @@
-{ stdenv, fetchurl, openssl, curl, coreutils, gawk, bash, which }:
+{ stdenv, fetchFromGitHub, openssl, curl, coreutils, gawk, bash, which }:
 
 stdenv.mkDerivation rec {
-  name = "esniper-2.33.0";
+  name = "esniper-2.33.0.2017-11-06";
 
-  src = fetchurl {
-    url    = "mirror://sourceforge/esniper/${stdenv.lib.replaceStrings ["."] ["-"] name}.tgz";
-    sha256 = "1pck2x7mp7ip0b21v2sjvq86fz12gzw6kig4vvbrghz5xw5b3f69";
+  src = fetchFromGitHub {
+    owner = "yhfudev";
+    repo = "esniper";
+    rev = "c95140d376db3c991300a7462e6c172b0ccf3eb5";
+    sha256 = "1dfb5hmcrvm3yg9ask362c6s5ylxs21szw23dm737a94br37j890";
   };
 
   buildInputs = [ openssl curl ];