guix_mirror_bot pushed a commit to branch master
in repository guix.
commit 5e4ef038eb3eac660c2d4680446d3dbc09dac9ad
Author: Andy Tai <[email protected]>
AuthorDate: Fri Aug 8 22:59:34 2025 -0700
gnu: Add jaro.
* gnu/packages/guile-xyz.scm (jaro): New variable.
Change-Id: I2e79b21ac5def54e7c4bc6408479f45eb2c54ae0
Signed-off-by: Liliana Marie Prikler <[email protected]>
---
gnu/packages/guile-xyz.scm | 40 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm
index e707e44fc8..11eed6dba5 100644
--- a/gnu/packages/guile-xyz.scm
+++ b/gnu/packages/guile-xyz.scm
@@ -57,6 +57,7 @@
;;; Copyright © 2025 Libre en Communs <[email protected]>
;;; Copyright © 2025 Noé Lopez <[email protected]>
;;; Copyright © 2025 Giacomo Leidi <[email protected]>
+;;; Copyright © 2025 Andy Tai <[email protected]>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -92,6 +93,7 @@
#:use-module (gnu packages emacs)
#:use-module (gnu packages emacs-build)
#:use-module (gnu packages emacs-xyz)
+ #:use-module (gnu packages freedesktop)
#:use-module (gnu packages gawk)
#:use-module (gnu packages gcc)
#:use-module (gnu packages gettext)
@@ -7582,6 +7584,44 @@ ftypes.")
(home-page "https://dthompson.us/projects/guile-bstructs.html")
(license license:asl2.0)))
+(define-public jaro
+ (let ((commit "a5744a686e43a148536b04db5be779aabfed1603")
+ (revision "0"))
+ (package
+ (name "jaro")
+ (version (git-version "0.5.5" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/isamert/jaro.git")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0jf6ciwvk0ix9gv1gymmyhicx07hsxivryf6fcqvi7gg38czqwzl"))))
+ (build-system gnu-build-system)
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (delete 'configure)
+ (delete 'build)
+ (replace 'install
+ (lambda* (#:key outputs #:allow-other-keys)
+ (install-file "jaro"
+ (string-append #$output "/bin"))))
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "guile" "--no-auto-compile" "tests.scm")))))))
+ (inputs (list guile-3.0 perl perl-file-mimeinfo))
+ (home-page "https://github.com/isamert/jaro")
+ (synopsis "Customizable xdg-open alternative")
+ (description
+ "Jaro is a just another resource opener. It runs the appropriate
+application to open a given file or URL based on given configurations.")
+ (license license:gpl3))))
+
(define-public guile-goblins
(package
(name "guile-goblins")