forgejo-lts: 7.0.10 -> 7.0.11
[NixPkgs.git] / pkgs / by-name / ha / hashcat-utils / package.nix
blobf252c7eedce7639b35740b0d2108a252d9b623e8
1 { lib, stdenv, fetchFromGitHub }:
3 stdenv.mkDerivation rec {
4   pname = "hashcat-utils";
5   version = "1.9";
7   src = fetchFromGitHub {
8     owner = "hashcat";
9     repo = pname;
10     rev = "v${version}";
11     sha256 = "0wgc6wv7i6cs95rgzzx3zqm14xxbjyajvcqylz8w97d8kk4x4wjr";
12   };
14   sourceRoot = "${src.name}/src";
16   installPhase = ''
17     runHook preInstall
18     install -Dm0555 *.bin -t $out/bin
19     install -Dm0555 *.pl -t $out/bin
20     runHook postInstall
21   '';
23   meta = with lib; {
24     description = "Small utilities that are useful in advanced password cracking";
25     homepage = "https://github.com/hashcat/hashcat-utils";
26     license = licenses.mit;
27     platforms = platforms.unix;
28     maintainers = with maintainers; [ fadenb ];
29   };