depot/third_party/nixpkgs/pkgs/tools/security/hashrat/default.nix
Default email f34ce41345 Project import generated by Copybara.
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
2024-07-27 08:49:29 +02:00

33 lines
823 B
Nix

{ lib
, stdenv
, fetchFromGitHub
}:
stdenv.mkDerivation rec {
pname = "hashrat";
version = "1.22";
src = fetchFromGitHub {
owner = "ColumPaget";
repo = "Hashrat";
rev = "v${version}";
hash = "sha256-mjjK315OUUFVdUY+zcCvm7yeo7XxourR1sghWbeFT7c=";
};
configureFlags = [ "--enable-xattr" ];
makeFlags = [ "PREFIX=$(out)" ];
meta = with lib; {
description = "Command-line hash-generation utility";
mainProgram = "hashrat";
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 ];
};
}