2024-04-21 15:54:59 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildGoModule,
|
|
|
|
fetchFromGitHub,
|
2021-02-05 17:12:51 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "pwdsafety";
|
2024-04-21 15:54:59 +00:00
|
|
|
version = "0.4.0";
|
2021-02-05 17:12:51 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "edoardottt";
|
2024-04-21 15:54:59 +00:00
|
|
|
repo = "pwdsafety";
|
|
|
|
rev = "refs/tags/v${version}";
|
|
|
|
hash = "sha256-cKxTcfNjvwcDEw0Z1b50A4u0DUYXlGMMfGWJLPaSkcw=";
|
2021-02-05 17:12:51 +00:00
|
|
|
};
|
|
|
|
|
2024-04-21 15:54:59 +00:00
|
|
|
vendorHash = "sha256-RoRq9JZ8lOMtAluz8TB2RRuDEWFOBtWVhz21aTkXXy4=";
|
|
|
|
|
|
|
|
ldflags = [
|
|
|
|
"-w"
|
|
|
|
"-s"
|
|
|
|
];
|
2021-02-05 17:12:51 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Command line tool checking password safety";
|
|
|
|
homepage = "https://github.com/edoardottt/pwdsafety";
|
2024-04-21 15:54:59 +00:00
|
|
|
changelog = "https://github.com/edoardottt/pwdsafety/releases/tag/v${version}";
|
2021-02-05 17:12:51 +00:00
|
|
|
license = with licenses; [ gpl3Plus ];
|
|
|
|
maintainers = with maintainers; [ fab ];
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "pwdsafety";
|
2021-02-05 17:12:51 +00:00
|
|
|
};
|
|
|
|
}
|