about summary refs log tree commit diff
path: root/pkgs/by-name/pa/pam-honeycreds
diff options
context:
space:
mode:
authorh7x4 <h7x4@nani.wtf>2023-11-08 09:04:17 +0100
committerh7x4 <h7x4@nani.wtf>2023-11-09 00:06:22 +0100
commit4d9f4c07cb9500ffd949547f6a64ac1b618e38be (patch)
tree8911619d3799dd3d95c8e011b995115d41bc446e /pkgs/by-name/pa/pam-honeycreds
parentbe4704f84aeefc9561a0abc61d84e244710a54de (diff)
pam-honeycreds: init at 1.9
Diffstat (limited to 'pkgs/by-name/pa/pam-honeycreds')
-rw-r--r--pkgs/by-name/pa/pam-honeycreds/package.nix25
1 files changed, 25 insertions, 0 deletions
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 0000000000000..9c96e1c317fdf
--- /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 ];
+  };
+})