Merge pull request #198633 from zendo/hashrat
This commit is contained in:
commit
0fddb7adbc
2 changed files with 34 additions and 0 deletions
32
pkgs/tools/security/hashrat/default.nix
Normal file
32
pkgs/tools/security/hashrat/default.nix
Normal file
|
@ -0,0 +1,32 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "hashrat";
|
||||
version = "1.15";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ColumPaget";
|
||||
repo = "Hashrat";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-+3IPCJS++7CE0ZrJb62LCRrAn2J4uCF3a1oOzDoOW0w=";
|
||||
};
|
||||
|
||||
configureFlags = [ "--enable-xattr" ];
|
||||
|
||||
makeFlags = [ "PREFIX=$(out)" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Command-line hash-generation utility";
|
||||
longDescription = ''
|
||||
Hashing tool supporting md5,sha1,sha256,sha512,whirlpool,jh and hmac versions of these.
|
||||
Includes recursive file hashing and other features.
|
||||
'';
|
||||
homepage = "http://www.cjpaget.co.uk/Code/Hashrat";
|
||||
license = licenses.gpl3Plus;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ zendo ];
|
||||
};
|
||||
}
|
|
@ -7883,6 +7883,8 @@ with pkgs;
|
|||
|
||||
hashcat-utils = callPackage ../tools/security/hashcat-utils { };
|
||||
|
||||
hashrat = callPackage ../tools/security/hashrat { };
|
||||
|
||||
hash_extender = callPackage ../tools/security/hash_extender {
|
||||
openssl = openssl_1_1;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue