2022-09-04 17:20:03 +00:00
|
|
|
{ lib, fetchzip, stdenv }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "cyberchef";
|
2023-03-25 06:51:12 +00:00
|
|
|
version = "10.2.0";
|
2022-09-04 17:20:03 +00:00
|
|
|
|
|
|
|
src = fetchzip {
|
|
|
|
url = "https://github.com/gchq/CyberChef/releases/download/v${version}/CyberChef_v${version}.zip";
|
2023-03-25 06:51:12 +00:00
|
|
|
sha256 = "sha256-Qom8NRy46EoZtXcdA716yO48GVemloEBlXxEFMB3g10=";
|
2022-09-04 17:20:03 +00:00
|
|
|
stripRoot = false;
|
|
|
|
};
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p "$out/share/cyberchef"
|
|
|
|
mv "CyberChef_v${version}.html" index.html
|
|
|
|
mv * "$out/share/cyberchef"
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "The Cyber Swiss Army Knife for encryption, encoding, compression and data analysis.";
|
|
|
|
homepage = "https://gchq.github.io/CyberChef";
|
|
|
|
maintainers = with maintainers; [ sebastianblunt ];
|
|
|
|
license = licenses.asl20;
|
2022-12-21 14:02:40 +00:00
|
|
|
platforms = platforms.all;
|
2022-09-04 17:20:03 +00:00
|
|
|
};
|
|
|
|
}
|