diff options
author | zendo <linzway@qq.com> | 2022-10-30 18:59:38 +0800 |
---|---|---|
committer | zendo <linzway@qq.com> | 2022-11-26 09:11:07 +0800 |
commit | badc84b69e4b3028466c0f8189f23ae51d92e7f6 (patch) | |
tree | 66044ebf90453d8dd1960c83a74776bfdaafdb45 /pkgs/tools/security/hashrat | |
parent | 498ebaf86df2a5fc4ec461acd6778b766528232d (diff) |
hashrat: init at 1.15
Diffstat (limited to 'pkgs/tools/security/hashrat')
-rw-r--r-- | pkgs/tools/security/hashrat/default.nix | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/tools/security/hashrat/default.nix b/pkgs/tools/security/hashrat/default.nix new file mode 100644 index 0000000000000..7923021f83555 --- /dev/null +++ b/pkgs/tools/security/hashrat/default.nix @@ -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 ]; + }; +} |