diff options
| author | Sughosha <sughosha@disroot.org> | 2026-04-18 22:40:55 +0530 |
|---|---|---|
| committer | Sughosha <sughosha@disroot.org> | 2026-04-18 22:50:39 +0530 |
| commit | 92df3d957ae8c32746f8176dbe0a21273059b961 (patch) | |
| tree | a9a0b4e1221c9d4b24a9169fdb744858f9ee1d95 | |
| parent | 8bb29027210c3c5449e5848df3b19e317f9ec2df (diff) | |
gnu: wl-color-picker: Update to 1.4.
* gnu/packages/xdisorg.scm (wl-color-picker): Update to 1.4.
[arguments]<#:phases>: Rename 'wrap-script' to 'wrap-program' and rewrite it.
[inputs]: Reorder; add libnotify.
Change-Id: I49d934c634ed7838b3dd494c847dd3f02b92ab89
| -rw-r--r-- | gnu/packages/xdisorg.scm | 21 |
1 files changed, 15 insertions, 6 deletions
diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm index 4cafd40a908..00cdd5b19e7 100644 --- a/gnu/packages/xdisorg.scm +++ b/gnu/packages/xdisorg.scm | |||
| @@ -76,6 +76,7 @@ | |||
| 76 | ;;; Copyright © 2025 Nicolas Graves <ngraves@ngraves.fr> | 76 | ;;; Copyright © 2025 Nicolas Graves <ngraves@ngraves.fr> |
| 77 | ;;; Copyright © 2025 Untrusem <mysticmoksh@riseup.net> | 77 | ;;; Copyright © 2025 Untrusem <mysticmoksh@riseup.net> |
| 78 | ;;; Copyright © 2026 VnPower <vnpower@loang.net> | 78 | ;;; Copyright © 2026 VnPower <vnpower@loang.net> |
| 79 | ;;; Copyright © 2026 Sughosha <sughosha@disroot.org> | ||
| 79 | ;;; | 80 | ;;; |
| 80 | ;;; This file is part of GNU Guix. | 81 | ;;; This file is part of GNU Guix. |
| 81 | ;;; | 82 | ;;; |
| @@ -3199,7 +3200,7 @@ introspection files (Python, Vala, etc, see using the library below).") | |||
| 3199 | (define-public wl-color-picker | 3200 | (define-public wl-color-picker |
| 3200 | (package | 3201 | (package |
| 3201 | (name "wl-color-picker") | 3202 | (name "wl-color-picker") |
| 3202 | (version "1.3") | 3203 | (version "1.4") |
| 3203 | (home-page "https://github.com/jgmdev/wl-color-picker") | 3204 | (home-page "https://github.com/jgmdev/wl-color-picker") |
| 3204 | (source (origin | 3205 | (source (origin |
| 3205 | (method git-fetch) | 3206 | (method git-fetch) |
| @@ -3209,7 +3210,7 @@ introspection files (Python, Vala, etc, see using the library below).") | |||
| 3209 | (file-name (git-file-name name version)) | 3210 | (file-name (git-file-name name version)) |
| 3210 | (sha256 | 3211 | (sha256 |
| 3211 | (base32 | 3212 | (base32 |
| 3212 | "0h5b8qfwri7a1invk8dran3436ac37x6r8fic3l5cxqj5rgnky4n")))) | 3213 | "0z0pmfk99zicny9308zf4b4aygrb6r6c6zc8296l080zjhxiwkmv")))) |
| 3213 | (build-system copy-build-system) | 3214 | (build-system copy-build-system) |
| 3214 | (arguments | 3215 | (arguments |
| 3215 | `(#:install-plan '(("wl-color-picker.sh" "bin/wl-color-picker") | 3216 | `(#:install-plan '(("wl-color-picker.sh" "bin/wl-color-picker") |
| @@ -3218,17 +3219,25 @@ introspection files (Python, Vala, etc, see using the library below).") | |||
| 3218 | "share/icons/hicolor/scalable/apps/") | 3219 | "share/icons/hicolor/scalable/apps/") |
| 3219 | ("wl-color-picker.desktop" "share/applications/")) | 3220 | ("wl-color-picker.desktop" "share/applications/")) |
| 3220 | #:phases (modify-phases %standard-phases | 3221 | #:phases (modify-phases %standard-phases |
| 3221 | (add-after 'install 'wrap-script | 3222 | (add-after 'install 'wrap-program |
| 3222 | (lambda* (#:key outputs #:allow-other-keys) | 3223 | (lambda* (#:key outputs #:allow-other-keys) |
| 3223 | (wrap-program (string-append (assoc-ref outputs "out") | 3224 | (wrap-program (string-append (assoc-ref outputs "out") |
| 3224 | "/bin/wl-color-picker") | 3225 | "/bin/wl-color-picker") |
| 3225 | `("PATH" = | 3226 | `("PATH" = |
| 3226 | (,(getenv "PATH"))))))))) | 3227 | (,(dirname (which "convert")) |
| 3227 | (inputs (list coreutils-minimal | 3228 | ,(dirname (which "cut")) |
| 3228 | bash-minimal | 3229 | ,(dirname (which "grep")) |
| 3230 | ,(dirname (which "grim")) | ||
| 3231 | ,(dirname (which "notify-send")) | ||
| 3232 | ,(dirname (which "slurp")) | ||
| 3233 | ,(dirname (which "wl-copy")) | ||
| 3234 | ,(dirname (which "zenity")))))))))) | ||
| 3235 | (inputs (list bash-minimal | ||
| 3236 | coreutils-minimal | ||
| 3229 | grim | 3237 | grim |
| 3230 | hicolor-icon-theme | 3238 | hicolor-icon-theme |
| 3231 | imagemagick | 3239 | imagemagick |
| 3240 | libnotify | ||
| 3232 | slurp | 3241 | slurp |
| 3233 | wl-clipboard | 3242 | wl-clipboard |
| 3234 | zenity)) | 3243 | zenity)) |
