mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-25 17:55:21 +00:00
cyberchef: 11.0.0 -> 11.2.0
They modified their release naming to include the hash of the git commit
that it's based on, so this adds a commit variable to support that.
(cherry picked from commit 1f3eacd0c6)
This commit is contained in:
committed by
github-actions[bot]
parent
b121b09d92
commit
9e602a778e
@@ -21,15 +21,16 @@ let
|
||||
categories = [ "Development" ];
|
||||
}
|
||||
);
|
||||
version = "11.0.0";
|
||||
version = "11.2.0";
|
||||
commit = "d358d82cbcb269d764a2deb598a37043bd054f45";
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
pname = "cyberchef";
|
||||
inherit version;
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://github.com/gchq/CyberChef/releases/download/v${version}/CyberChef_v${version}.zip";
|
||||
hash = "sha256-Hom0YFel1GVdyx/1q7N93se6uLUVutp0Lu31WNhkPPA=";
|
||||
url = "https://github.com/gchq/CyberChef/releases/download/v${version}/CyberChef_${commit}.zip";
|
||||
hash = "sha256-3DXIrxCefiEYqZOPs8pO5jWdHFj7cPGgrwZcwE4ESPg=";
|
||||
stripRoot = false;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user