nixpkgs/pkgs/applications/networking/jmeter/default.nix

33 lines
1.1 KiB
Nix
Raw Normal View History

{ fetchurl, stdenv, jre }:
2013-10-07 01:58:24 +00:00
stdenv.mkDerivation rec {
name = "jmeter-3.3";
2013-10-07 01:58:24 +00:00
src = fetchurl {
2014-11-18 14:43:09 +00:00
url = "http://archive.apache.org/dist/jmeter/binaries/apache-${name}.tgz";
sha256 = "190k6yrh5casadphkv4azp4nvf4wf2q85mrfysw67r9d96nb9kk5";
2013-10-07 01:58:24 +00:00
};
buildInputs = [ jre ];
2013-10-07 01:58:24 +00:00
installPhase = ''
substituteInPlace ./bin/jmeter.sh --replace "java $ARGS" "${jre}/bin/java $ARGS"
substituteInPlace ./bin/jmeter --replace "java $ARGS" "${jre}/bin/java $ARGS"
2013-10-07 01:58:24 +00:00
mkdir $out
cp ./* $out/ -R
'';
meta = {
description = "A 100% pure Java desktop application designed to load test functional behavior and measure performance";
2013-10-07 01:58:24 +00:00
longDescription = ''
The Apache JMeter desktop application is open source software, a 100%
pure Java application designed to load test functional behavior and
measure performance. It was originally designed for testing Web
Applications but has since expanded to other test functions.
'';
license = stdenv.lib.licenses.asl20;
maintainers = [ stdenv.lib.maintainers.garbas ];
priority = 1;
platforms = stdenv.lib.platforms.unix;
2013-10-07 01:58:24 +00:00
};
}