burpsuite: 2020.1 -> 2020.12.1
Moved to Java 11 to avoid warnings when launching Burp Suite. Burp Suite only officially supports Java versions 9 to 14 [0]. [0] https://portswigger.net/burp/documentation/desktop/getting-started/launching/command-line#checking-your-java-version
This commit is contained in:
parent
18cc4df312
commit
2c29f2ad85
@ -1,15 +1,15 @@
|
|||||||
{ lib, stdenv, fetchurl, jre, runtimeShell }:
|
{ lib, stdenv, fetchurl, jdk11, runtimeShell }:
|
||||||
|
|
||||||
let
|
let
|
||||||
version = "2020.1";
|
version = "2020.12.1";
|
||||||
jar = fetchurl {
|
jar = fetchurl {
|
||||||
name = "burpsuite.jar";
|
name = "burpsuite.jar";
|
||||||
url = "https://portswigger.net/Burp/Releases/Download?productId=100&version=${version}&type=Jar";
|
url = "https://portswigger.net/Burp/Releases/Download?productId=100&version=${version}&type=Jar";
|
||||||
sha256 = "12awfy0f8fyqjc0kza1gkmdx1g8bniw1xqaps2dhjimi6s0lq5jx";
|
sha256 = "1vdxwasvcyxyyidq3cfjphzkir358sxikgvxgl36czylap4hzjh1";
|
||||||
};
|
};
|
||||||
launcher = ''
|
launcher = ''
|
||||||
#!${runtimeShell}
|
#!${runtimeShell}
|
||||||
exec ${jre}/bin/java -jar ${jar} "$@"
|
exec ${jdk11}/bin/java -jar ${jar} "$@"
|
||||||
'';
|
'';
|
||||||
in stdenv.mkDerivation {
|
in stdenv.mkDerivation {
|
||||||
pname = "burpsuite";
|
pname = "burpsuite";
|
||||||
@ -33,7 +33,7 @@ in stdenv.mkDerivation {
|
|||||||
homepage = "https://portswigger.net/burp/";
|
homepage = "https://portswigger.net/burp/";
|
||||||
downloadPage = "https://portswigger.net/burp/freedownload";
|
downloadPage = "https://portswigger.net/burp/freedownload";
|
||||||
license = [ lib.licenses.unfree ];
|
license = [ lib.licenses.unfree ];
|
||||||
platforms = jre.meta.platforms;
|
platforms = jdk11.meta.platforms;
|
||||||
hydraPlatforms = [];
|
hydraPlatforms = [];
|
||||||
maintainers = with lib.maintainers; [ bennofs ];
|
maintainers = with lib.maintainers; [ bennofs ];
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user