cyberchef: init at 9.46.0 (#189242)

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
Sebastian Blunt 2022-09-04 17:20:03 +00:00 committed by GitHub
parent 8a6d60cf09
commit 215b0ce949
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1,25 @@
{ lib, fetchzip, stdenv }:
stdenv.mkDerivation rec {
pname = "cyberchef";
version = "9.46.0";
src = fetchzip {
url = "https://github.com/gchq/CyberChef/releases/download/v${version}/CyberChef_v${version}.zip";
sha256 = "sha256-4IqXp7fYgXwIuciUklrQoRD2XagatdhQ3l6ghjgTCR8=";
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;
};
}

View File

@ -2185,6 +2185,8 @@ with pkgs;
crystfel-headless = callPackage ../applications/science/physics/crystfel { withGui = false; };
cyberchef = callPackage ../tools/misc/cyberchef { };
cw = callPackage ../tools/admin/cw { };
ec2-api-tools = callPackage ../tools/virtualization/ec2-api-tools { };