mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 14:22:50 +03:00
Merge pull request #33081 from apeyroux/up-jmeter
jmeter: 2.11 -> 3.3 and fix java command not found
This commit is contained in:
commit
7342871ea0
@ -1,13 +1,17 @@
|
||||
{ fetchurl, stdenv, ant }:
|
||||
{ fetchurl, stdenv, jre }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "jmeter-2.11";
|
||||
name = "jmeter-3.3";
|
||||
src = fetchurl {
|
||||
url = "http://archive.apache.org/dist/jmeter/binaries/apache-${name}.tgz";
|
||||
sha256 = "1fr3sw06qncb6yygcf2lbnkxma4v1dbigpf39ajrm0isxbpyv944";
|
||||
sha256 = "190k6yrh5casadphkv4azp4nvf4wf2q85mrfysw67r9d96nb9kk5";
|
||||
};
|
||||
|
||||
buildInputs = [ jre ];
|
||||
|
||||
installPhase = ''
|
||||
substituteInPlace ./bin/jmeter.sh --replace "java $ARGS" "${jre}/bin/java $ARGS"
|
||||
substituteInPlace ./bin/jmeter --replace "java $ARGS" "${jre}/bin/java $ARGS"
|
||||
mkdir $out
|
||||
cp ./* $out/ -R
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user