mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 15:22:59 +01:00
Merge pull request #1556 from ocharles/siege
Update siege to 3.0.5 and add meta information
This commit is contained in:
commit
fcc23fe0db
1 changed files with 9 additions and 3 deletions
|
@ -1,12 +1,18 @@
|
||||||
{ stdenv, fetchurl }:
|
{ stdenv, fetchurl, lib }:
|
||||||
let
|
let
|
||||||
version = "3.0.2";
|
version = "3.0.5";
|
||||||
baseName = "siege";
|
baseName = "siege";
|
||||||
in stdenv.mkDerivation rec {
|
in stdenv.mkDerivation rec {
|
||||||
name = "${baseName}-${version}";
|
name = "${baseName}-${version}";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://www.joedog.org/pub/siege/${name}.tar.gz";
|
url = "http://www.joedog.org/pub/siege/${name}.tar.gz";
|
||||||
sha256 = "0b86rvcrjxy6h9w32bhpcm1gwmn223mf9f30dfsnaw51w90kn716";
|
sha256 = "16faa6kappg23bdriyiy3ym94rmddpvw8cl8xgv5nxq2v17n4gi8";
|
||||||
|
};
|
||||||
|
meta = {
|
||||||
|
description = "HTTP load tester";
|
||||||
|
maintainers = with lib.maintainers; [ ocharles raskin ];
|
||||||
|
platforms = with lib.platforms; linux;
|
||||||
|
license = with lib.licenses; gpl2Plus;
|
||||||
};
|
};
|
||||||
NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isLinux "-lgcc_s";
|
NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isLinux "-lgcc_s";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue