depot/third_party/nixpkgs/pkgs/tools/security/pwdsafety/default.nix
Default email 587713944a Project import generated by Copybara.
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
2024-04-21 17:54:59 +02:00

33 lines
759 B
Nix

{
lib,
buildGoModule,
fetchFromGitHub,
}:
buildGoModule rec {
pname = "pwdsafety";
version = "0.4.0";
src = fetchFromGitHub {
owner = "edoardottt";
repo = "pwdsafety";
rev = "refs/tags/v${version}";
hash = "sha256-cKxTcfNjvwcDEw0Z1b50A4u0DUYXlGMMfGWJLPaSkcw=";
};
vendorHash = "sha256-RoRq9JZ8lOMtAluz8TB2RRuDEWFOBtWVhz21aTkXXy4=";
ldflags = [
"-w"
"-s"
];
meta = with lib; {
description = "Command line tool checking password safety";
homepage = "https://github.com/edoardottt/pwdsafety";
changelog = "https://github.com/edoardottt/pwdsafety/releases/tag/v${version}";
license = with licenses; [ gpl3Plus ];
maintainers = with maintainers; [ fab ];
mainProgram = "pwdsafety";
};
}