1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-19 20:21:14 +00:00

Merge pull request #109549 from LeSuisse/bursuite-2020.12.1

burpsuite: 2020.1 -> 2020.12.1
This commit is contained in:
Sandro 2021-01-17 13:40:34 +01:00 committed by GitHub
commit ff9a7c6dc1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,15 +1,15 @@
{ lib, stdenv, fetchurl, jre, runtimeShell }:
{ lib, stdenv, fetchurl, jdk11, runtimeShell }:
let
version = "2020.1";
version = "2020.12.1";
jar = fetchurl {
name = "burpsuite.jar";
url = "https://portswigger.net/Burp/Releases/Download?productId=100&version=${version}&type=Jar";
sha256 = "12awfy0f8fyqjc0kza1gkmdx1g8bniw1xqaps2dhjimi6s0lq5jx";
sha256 = "1vdxwasvcyxyyidq3cfjphzkir358sxikgvxgl36czylap4hzjh1";
};
launcher = ''
#!${runtimeShell}
exec ${jre}/bin/java -jar ${jar} "$@"
exec ${jdk11}/bin/java -jar ${jar} "$@"
'';
in stdenv.mkDerivation {
pname = "burpsuite";
@ -33,7 +33,7 @@ in stdenv.mkDerivation {
homepage = "https://portswigger.net/burp/";
downloadPage = "https://portswigger.net/burp/freedownload";
license = [ lib.licenses.unfree ];
platforms = jre.meta.platforms;
platforms = jdk11.meta.platforms;
hydraPlatforms = [];
maintainers = with lib.maintainers; [ bennofs ];
};