diff --git a/pkgs/by-name/pa/pam-honeycreds/package.nix b/pkgs/by-name/pa/pam-honeycreds/package.nix new file mode 100644 index 000000000000..9c96e1c317fd --- /dev/null +++ b/pkgs/by-name/pa/pam-honeycreds/package.nix @@ -0,0 +1,25 @@ +{ lib +, stdenv +, fetchFromGitHub +, pam +}: +stdenv.mkDerivation (finalAttrs: { + pname = "pam-honeycreds"; + version = "1.9"; + src = fetchFromGitHub { + owner = "ColumPaget"; + repo = "pam_honeycreds"; + rev = "v${finalAttrs.version}"; + hash = "sha256-GRJnH431foNI10g95rrtgi31DM15FWhzNq9L0SwoZoM="; + }; + + buildInputs = [ pam ]; + + meta = with lib; { + homepage = "https://github.com/ColumPaget/pam_honeycreds"; + description = "PAM module that sends warnings when fake passwords are used"; + license = licenses.gpl3Only; + platforms = platforms.unix; + maintainers = with maintainers; [ h7x4 ]; + }; +})