nixpkgs/pkgs/tools/misc/cyberchef/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
762 B
Nix
Raw Normal View History

{ lib, fetchzip, stdenv }:
stdenv.mkDerivation rec {
pname = "cyberchef";
2022-12-10 05:21:11 +01:00
version = "9.55.0";
src = fetchzip {
url = "https://github.com/gchq/CyberChef/releases/download/v${version}/CyberChef_v${version}.zip";
2022-12-10 05:21:11 +01:00
sha256 = "sha256-nJes11d/KqQH6pCGIEwlEeP0BjsUr9bo5rBoEoB0IZk=";
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 15:02:40 +01:00
platforms = platforms.all;
};
}