mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-12 07:04:25 +00:00
![stuebinm](/assets/img/avatar_default.png)
The nixpkgs-unstable channel's programs.sqlite was used to identify packages producing exactly one binary, and these automatically added to their package definitions wherever possible.
27 lines
608 B
Nix
27 lines
608 B
Nix
{ 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 ];
|
|
};
|
|
}
|