siege: 4.0.7 -> 4.0.8
This commit is contained in:
parent
e019872af8
commit
c81bfad279
@ -1,16 +1,25 @@
|
||||
{ lib, stdenv, fetchurl, openssl, zlib }:
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchurl
|
||||
, openssl
|
||||
, zlib
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "siege-4.0.7";
|
||||
pname = "siege";
|
||||
version = "4.0.8";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://download.joedog.org/siege/${name}.tar.gz";
|
||||
sha256 = "1y3dnl1ziw0c0d4nw30aj0sdmjvarn4xfxgfkswffwnkm8z5p9xz";
|
||||
url = "http://download.joedog.org/siege/${pname}-${version}.tar.gz";
|
||||
sha256 = "01qhw52kyqwidp5bckw4xmz4ldqdwkjci7k421qm68kk0mx9l48g";
|
||||
};
|
||||
|
||||
NIX_LDFLAGS = lib.optionalString stdenv.isLinux "-lgcc_s";
|
||||
|
||||
buildInputs = [ openssl zlib ];
|
||||
buildInputs = [
|
||||
openssl
|
||||
zlib
|
||||
];
|
||||
|
||||
prePatch = ''
|
||||
sed -i -e 's/u_int32_t/uint32_t/g' -e '1i#include <stdint.h>' src/hash.c
|
||||
|
Loading…
Reference in New Issue
Block a user