about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/security/pwdsafety/default.nix
blob: e713d7e014ab565c2c3282365b604f830d01fbeb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ lib
, buildGoModule
, fetchFromGitHub
}:

buildGoModule rec {
  pname = "pwdsafety";
  version = "0.3";

  src = fetchFromGitHub {
    owner = "edoardottt";
    repo = pname;
    rev = "v${version}";
    hash = "sha256-ryMLiehJVZhQ3ZQf4/g7ILeJri78A6z5jfell0pD9E8=";
  };

  vendorHash = "sha256-b+tWTQUyYDzY2O28hwy5vI6b6S889TCiVh7hQhw/KAc=";

  meta = with lib; {
    description = "Command line tool checking password safety";
    mainProgram = "cmd";
    homepage = "https://github.com/edoardottt/pwdsafety";
    license = with licenses; [ gpl3Plus ];
    maintainers = with maintainers; [ fab ];
  };
}