forked from mirrors/nixpkgs
esniper: updated to version 2.27.0
svn path=/nixpkgs/trunk/; revision=32087
This commit is contained in:
parent
febe726020
commit
4e3dcd9254
|
@ -1,17 +1,15 @@
|
|||
{ stdenv, fetchurl, openssl, curl }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "esniper-2.26.0";
|
||||
name = "esniper-2.27.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/esniper/esniper-2-26-0.tgz";
|
||||
sha256 = "5fd9a0f4b27b98deca303cd3d16c1ed060e05a165a40b2f4a9f8546db5e3877d";
|
||||
url = "mirror://sourceforge/esniper/esniper-2-27-0.tgz";
|
||||
sha256 = "0ca9946395be8958d3eb28c9abc4a1a4d4c9134e4b6b3c3816f4631e3be25c02";
|
||||
};
|
||||
|
||||
buildInputs = [openssl curl];
|
||||
|
||||
patches = [ ./fix-build-with-latest-curl.patch ];
|
||||
|
||||
postInstall = ''
|
||||
sed -e "2i export PATH=\"$out/bin:\$PATH\"" <"frontends/snipe" >"$out/bin/snipe"
|
||||
chmod 555 "$out/bin/snipe"
|
||||
|
|
|
@ -1,10 +0,0 @@
|
|||
--- esniper-2-26-0/http.c 2011-08-09 21:05:59.000000000 +0200
|
||||
+++ esniper/http.c 2011-08-10 00:24:43.000000000 +0200
|
||||
@@ -28,7 +28,6 @@
|
||||
#include "esniper.h"
|
||||
#include <ctype.h>
|
||||
#include <curl/curl.h>
|
||||
-#include <curl/types.h>
|
||||
#include <curl/easy.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
Loading…
Reference in a new issue