burpsuite: 2024.5.3 -> 2024.6.6
This commit is contained in:
parent
02a8f81ccb
commit
854237d404
@ -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,32 +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
|
||||
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"
|
||||
|
Loading…
Reference in New Issue
Block a user