This is an automated email from the git hooks/post-receive script.

guix_mirror_bot pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 7818f1d3d9 gnu: Add maskprocessor.
7818f1d3d9 is described below

commit 7818f1d3d957bd00cb0df8d6b002fe31d4013d18
Author: Isidor Zeuner <g...@quidecco.pl>
AuthorDate: Sun Oct 5 11:08:26 2025 +0200

    gnu: Add maskprocessor.
    
    * gnu/packages/password-utils.scm (maskprocessor): New variable.
    
    Signed-off-by: Ekaitz Zarraga <eka...@elenq.tech>
---
 gnu/packages/password-utils.scm | 44 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 44 insertions(+)

diff --git a/gnu/packages/password-utils.scm b/gnu/packages/password-utils.scm
index 1c62f867e7..f7b50fbce7 100644
--- a/gnu/packages/password-utils.scm
+++ b/gnu/packages/password-utils.scm
@@ -43,6 +43,7 @@
 ;;; Copyright © 2024, 2025 John Kehayias <john.kehay...@protonmail.com>
 ;;; Copyright © 2024 Janneke Nieuwenhuizen <jann...@gnu.org>
 ;;; Copyright © 2025 Cayetano Santos <csant...@inventati.org>
+;;; Copyright © 2025 Isidor Zeuner <g...@quidecco.pl>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -1584,6 +1585,49 @@ of the box are Windows LM hashes, plus lots of other 
hashes and ciphers.  This
 is the community-enhanced, \"jumbo\" version of John the Ripper.")
       (license license:gpl2+))))
 
+(define-public maskprocessor
+  (package
+    (name "maskprocessor")
+    (version "0.73")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/hashcat/maskprocessor";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1vv12iwnkzvjsp9bnix0z1m3hbyhasf5nxngp65b4gdlkk7lqnrd"))))
+    (build-system gnu-build-system)
+    (arguments
+     (list
+      #:tests? #f ;upstream does not provide tests
+      #:phases
+      #~(modify-phases %standard-phases
+          (delete 'bootstrap)
+          (delete 'configure)
+          (replace 'build
+            (lambda* _args
+              (invoke "gcc"
+                      "-W"
+                      "-Wall"
+                      "-Werror"
+                      "-std=c99"
+                      "-O2"
+                      "-DLINUX"
+                      "-o"
+                      "maskprocessor"
+                      "src/mp.c")))
+          (replace 'install
+            (lambda* _args
+              (install-file "maskprocessor"
+                            (string-append #$output "/bin")))))))
+    (home-page "https://github.com/hashcat/maskprocessor";)
+    (synopsis "High-Performance word generator")
+    (description "Maskprocessor is a high-performance word generator with a
+per-position configureable charset.")
+    (license (list license:expat))))
+
 (define-public fpm2
   (package
     (name "fpm2")

Reply via email to