Skip to content

Commit

Permalink
Merge pull request #1556 from ocharles/siege
Browse files Browse the repository at this point in the history
Update siege to 3.0.5 and add meta information
  • Loading branch information
peti committed Jan 20, 2014
2 parents c6be3db + a2d0ec2 commit fcc23fe
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions pkgs/tools/networking/siege/default.nix
Original file line number Diff line number Diff line change
@@ -1,12 +1,18 @@
{ stdenv, fetchurl }:
{ stdenv, fetchurl, lib }:
let
version = "3.0.2";
version = "3.0.5";
baseName = "siege";
in stdenv.mkDerivation rec {
name = "${baseName}-${version}";
src = fetchurl {
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";
}

0 comments on commit fcc23fe

Please sign in to comment.