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 }: { stdenv, fetchurl }:
let
version = "3.0.6"; stdenv.mkDerivation rec {
baseName = "siege"; name = "siege-3.0.6";
in stdenv.mkDerivation rec {
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 = "0nwcj2s804z7yd20pa0cl010m0qgf22a02305i9jwxynwdj9kdvq"; 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"; 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;
};
} }