guix_mirror_bot pushed a commit to branch master
in repository guix.

commit dc192b2c3c9148026a6d224f6231f05192168ceb
Author: Patrick Norton <[email protected]>
AuthorDate: Sun Jan 4 21:32:45 2026 -0500

    gnu: Add go-github-com-ccojocar-zxcvbn-go.
    
    * gnu/packages/golang-xyz.scm (go-github-com-ccojocar-zxcvbn-go): New
    variable.
    
    Change-Id: I50f943a27db405b04eff54a4485f41b4cc0f5453
    Relates-to: guix/guix!5417
    Reviewed-by: Arthur Rodrigues <[email protected]>
    Signed-off-by: Sharlatan Hellseher <[email protected]>
---
 gnu/packages/golang-xyz.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index add0d85e0c..1d3c4f0c31 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -4485,6 +4485,36 @@ color palette} for Go applications.  Catppuccin is a 
community-driven pastel
 theme with four flavors: Latte, Frappe, Macchiato, and Mocha.")
     (license license:expat)))
 
+(define-public go-github-com-ccojocar-zxcvbn-go
+  (package
+    (name "go-github-com-ccojocar-zxcvbn-go")
+    (version "1.0.4")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+              (url "https://github.com/ccojocar/zxcvbn-go";)
+              (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0dlrd6afpfwnpj6cbbvjhwbf33ldr0nzffl8p43jrmn62mwf7cn7"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:import-path "github.com/ccojocar/zxcvbn-go"))
+    (native-inputs
+     (list go-github-com-stretchr-testify))
+    (home-page "https://github.com/ccojocar/zxcvbn-go";)
+    (synopsis "Password-strength generator in Go")
+    (description
+     "This package provides a password strength generators written in Golang.
+It attempts to give sound password advice through pattern matching and
+conservative entropy calculations.  It finds 10k common passwords, common
+American names and surnames, common English words, and common patterns like
+dates, repeats (aaa), sequences (abcd), and QWERTY patterns. It's an active
+fork of @url{https://github.com/nbutton23/zxcvbn-go}.";)
+    (license license:expat)))
+
 (define-public go-github-com-cention-sany-utf7
   (package
     (name "go-github-com-cention-sany-utf7")

Reply via email to