c594a97518
GitOrigin-RevId: 301aada7a64812853f2e2634a530ef5d34505048
25 lines
731 B
Nix
25 lines
731 B
Nix
{ lib, fetchzip, stdenv }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "cyberchef";
|
|
version = "9.48.0";
|
|
|
|
src = fetchzip {
|
|
url = "https://github.com/gchq/CyberChef/releases/download/v${version}/CyberChef_v${version}.zip";
|
|
sha256 = "sha256-tKNU+gUcuZMjsQes/vpEpn216/0fWCgb0mgvJ8WWoDQ=";
|
|
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;
|
|
};
|
|
}
|