diff options
Diffstat (limited to 'pkgs/tools/networking/burpsuite/default.nix')
-rw-r--r-- | pkgs/tools/networking/burpsuite/default.nix | 99 |
1 files changed, 54 insertions, 45 deletions
diff --git a/pkgs/tools/networking/burpsuite/default.nix b/pkgs/tools/networking/burpsuite/default.nix index 8f22d042b8d8d..75014e8823d7e 100644 --- a/pkgs/tools/networking/burpsuite/default.nix +++ b/pkgs/tools/networking/burpsuite/default.nix @@ -1,24 +1,29 @@ -{ lib -, buildFHSEnv -, fetchurl -, jdk -, makeDesktopItem -, proEdition ? false -, unzip +{ + lib, + buildFHSEnv, + fetchurl, + jdk, + makeDesktopItem, + proEdition ? false, + unzip, }: let - version = "2024.5.3"; + version = "2024.6.6"; - product = if proEdition then { - productName = "pro"; - productDesktop = "Burp Suite Professional Edition"; - hash = "sha256-1+IAlm4irUVqGFHlL+vNZNdDJrq3ZpJdUJYGrUN2cuY="; - } else { - productName = "community"; - productDesktop = "Burp Suite Community Edition"; - hash = "sha256-+YgRKYF9NPAAfuy97nmAVeI8fCvwjvHn7hHtBUjUoXk="; - }; + product = + if proEdition then + { + productName = "pro"; + productDesktop = "Burp Suite Professional Edition"; + hash = "sha256-EpDTxui/6w5RD15vpVXsNRqcajovgQDjlzLqEDdbPgY="; + } + else + { + productName = "community"; + productDesktop = "Burp Suite Community Edition"; + hash = "sha256-5LyazMNcEOq+F3p7y50x9AogvBKLd6ToS3Wzc+fFpmc="; + }; src = fetchurl { name = "burpsuite.jar"; @@ -38,7 +43,11 @@ let icon = pname; desktopName = product.productDesktop; comment = description; - categories = [ "Development" "Security" "System" ]; + categories = [ + "Development" + "Security" + "System" + ]; }; in @@ -47,33 +56,33 @@ buildFHSEnv { runScript = "${jdk}/bin/java -jar ${src}"; - targetPkgs = pkgs: with pkgs; [ - alsa-lib - at-spi2-core - cairo - cups - dbus - expat - glib - gtk3 - gtk3-x11 - jython - libcanberra-gtk3 - libdrm - libudev0-shim - libxkbcommon - mesa.drivers - nspr - nss - pango - xorg.libX11 - xorg.libxcb - xorg.libXcomposite - xorg.libXdamage - xorg.libXext - xorg.libXfixes - xorg.libXrandr - ]; + targetPkgs = + pkgs: with pkgs; [ + alsa-lib + at-spi2-core + cairo + cups + dbus + expat + glib + gtk3 + gtk3-x11 + jython + libcanberra-gtk3 + libdrm + libudev0-shim + libxkbcommon + nspr + nss + pango + xorg.libX11 + xorg.libxcb + xorg.libXcomposite + xorg.libXdamage + xorg.libXext + xorg.libXfixes + xorg.libXrandr + ]; extraInstallCommands = '' mkdir -p "$out/share/pixmaps" |