a71eb02b76
GitOrigin-RevId: a115bb9bd56831941be3776c8a94005867f316a7
25 lines
731 B
Nix
25 lines
731 B
Nix
{ lib, fetchzip, stdenv }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "cyberchef";
|
|
version = "9.49.0";
|
|
|
|
src = fetchzip {
|
|
url = "https://github.com/gchq/CyberChef/releases/download/v${version}/CyberChef_v${version}.zip";
|
|
sha256 = "sha256-5cqCPxyH4O4TzAIwRR2oyWMzIl5Hi5YcdOKdpl518zw=";
|
|
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;
|
|
};
|
|
}
|