3
0
Fork 0
forked from mirrors/nixpkgs

siege: expression cleanup

This commit is contained in:
Bjørn Forsman 2014-02-02 15:04:46 +01:00
parent 83bc415a7b
commit 43af271ac6

View file

@ -1,18 +1,19 @@
{ stdenv, fetchurl, lib }:
let
version = "3.0.6";
baseName = "siege";
in stdenv.mkDerivation rec {
name = "${baseName}-${version}";
{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
name = "siege-3.0.6";
src = fetchurl {
url = "http://www.joedog.org/pub/siege/${name}.tar.gz";
sha256 = "0nwcj2s804z7yd20pa0cl010m0qgf22a02305i9jwxynwdj9kdvq";
};
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";
meta = with stdenv.lib; {
description = "HTTP load tester";
maintainers = with maintainers; [ ocharles raskin ];
platforms = platforms.linux;
license = licenses.gpl2Plus;
};
}