gnu: distrobox: Update to 1.5.0.2.

* gnu/packages/containers.scm (distrobox): Update to 1.5.0.2.
[arguments]: Do not patch files with extensions, such as a .pdf.
This commit is contained in:
Ricardo Wurmus 2023-10-13 17:45:56 +02:00
parent 21b44bbc7c
commit dcfd4d9c48
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -4,6 +4,7 @@
;;; Copyright © 2022 Zhu Zihao <all_but_last@163.com> ;;; Copyright © 2022 Zhu Zihao <all_but_last@163.com>
;;; Copyright © 2022 Michael Rohleder <mike@rohleder.de> ;;; Copyright © 2022 Michael Rohleder <mike@rohleder.de>
;;; Copyright © 2023 Zongyuan Li <zongyuan.li@c0x0o.me> ;;; Copyright © 2023 Zongyuan Li <zongyuan.li@c0x0o.me>
;;; Copyright © 2023 Ricardo Wurmus <rekado@elephly.net>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
;;; ;;;
@ -159,7 +160,7 @@ (define-public conmon
(define-public distrobox (define-public distrobox
(package (package
(name "distrobox") (name "distrobox")
(version "1.4.2.1") (version "1.5.0.2")
(source (source
(origin (origin
(method git-fetch) (method git-fetch)
@ -167,7 +168,7 @@ (define-public distrobox
(url "https://github.com/89luca89/distrobox") (url "https://github.com/89luca89/distrobox")
(commit version))) (commit version)))
(sha256 (sha256
(base32 "0gs81m1bvlyq6ad22zsdsw1q6s3agy79vx94kdf6zjzngbanlydk")) (base32 "0h6rpgbcmg33vriyzh9nkdxj8yhfn0y35i1wh1zmb7zss3ik9kxj"))
(file-name (git-file-name name version)))) (file-name (git-file-name name version))))
(build-system copy-build-system) (build-system copy-build-system)
(inputs (inputs
@ -177,7 +178,7 @@ (define-public distrobox
#~(modify-phases %standard-phases #~(modify-phases %standard-phases
(add-before 'install 'refer-to-inputs (add-before 'install 'refer-to-inputs
(lambda* (#:key inputs #:allow-other-keys) (lambda* (#:key inputs #:allow-other-keys)
(substitute* (find-files "." "^distrobox.*[^1]$") (substitute* (find-files "." "^distrobox[^.]*[^1]$")
(("podman") (search-input-file inputs "/bin/podman")) (("podman") (search-input-file inputs "/bin/podman"))
(("wget") (search-input-file inputs "/bin/wget")) (("wget") (search-input-file inputs "/bin/wget"))
(("command -v") "test -x")))) (("command -v") "test -x"))))