nixpkgs/pkgs/tools/security/pwdsafety/default.nix
Fabián Heredia Montiel ff323ed355 treewide: vendorSha256 → vendorHash
via: `find pkgs/ -type f -exec sed -i 's/vendorSha256 = "sha256/vendorHash = "sha256/' {};`
2023-09-13 01:03:44 -06:00

25 lines
583 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";
homepage = "https://github.com/edoardottt/pwdsafety";
license = with licenses; [ gpl3Plus ];
maintainers = with maintainers; [ fab ];
};
}