2024-04-20 11:41:28 +02:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildGoModule,
|
|
|
|
fetchFromGitHub,
|
2021-01-19 22:23:34 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "pwdsafety";
|
2024-04-19 18:18:41 +02:00
|
|
|
version = "0.4.0";
|
2021-01-19 22:23:34 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "edoardottt";
|
2024-04-20 11:35:32 +02:00
|
|
|
repo = "pwdsafety";
|
|
|
|
rev = "refs/tags/v${version}";
|
2024-04-19 18:18:41 +02:00
|
|
|
hash = "sha256-cKxTcfNjvwcDEw0Z1b50A4u0DUYXlGMMfGWJLPaSkcw=";
|
2021-01-19 22:23:34 +01:00
|
|
|
};
|
|
|
|
|
2024-04-19 18:18:41 +02:00
|
|
|
vendorHash = "sha256-RoRq9JZ8lOMtAluz8TB2RRuDEWFOBtWVhz21aTkXXy4=";
|
2021-01-19 22:23:34 +01:00
|
|
|
|
2024-04-20 11:35:32 +02:00
|
|
|
ldflags = [
|
|
|
|
"-w"
|
|
|
|
"-s"
|
|
|
|
];
|
|
|
|
|
2021-01-19 22:23:34 +01:00
|
|
|
meta = with lib; {
|
|
|
|
description = "Command line tool checking password safety";
|
|
|
|
homepage = "https://github.com/edoardottt/pwdsafety";
|
2024-04-20 11:35:32 +02:00
|
|
|
changelog = "https://github.com/edoardottt/pwdsafety/releases/tag/v${version}";
|
2021-01-19 22:23:34 +01:00
|
|
|
license = with licenses; [ gpl3Plus ];
|
|
|
|
maintainers = with maintainers; [ fab ];
|
2024-04-20 11:35:32 +02:00
|
|
|
mainProgram = "pwdsafety";
|
2021-01-19 22:23:34 +01:00
|
|
|
};
|
|
|
|
}
|