diff options
author | Hilton Chain <hako@ultrarare.space> | 2024-11-06 08:48:41 +0800 |
---|---|---|
committer | Hilton Chain <hako@ultrarare.space> | 2024-12-08 15:28:43 +0800 |
commit | 7a80df355994f3c9671d4244f80c9801f06d9833 (patch) | |
tree | f4c3d631c131f77def76e7ecba148b2412feabec | |
parent | 6099a3979614826bd27e7d582e82e99bfc5de3ab (diff) | |
download | guix-7a80df355994f3c9671d4244f80c9801f06d9833.tar.gz guix-7a80df355994f3c9671d4244f80c9801f06d9833.zip |
gnu: Add hyprpicker.
* gnu/packages/wm.scm (hyprpicker): New variable.
Change-Id: I09cfc8b465ca0ac5d4dcbae34f680e80c74fd56f
-rw-r--r-- | gnu/packages/xdisorg.scm | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm index 34ddad9123..9a9a416def 100644 --- a/gnu/packages/xdisorg.scm +++ b/gnu/packages/xdisorg.scm @@ -3705,6 +3705,46 @@ This package is the fork of hsetroot by Hyriand.") "This package provides Hyprland cursor format, library and utilities.") (license license:bsd-3))) +(define-public hyprpicker + (package + (name "hyprpicker") + (version "0.4.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/hyprwm/hyprpicker") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "11r06c62dqj81r27qhf36f3smnjyk3vz8naa655m8khv4qqvmvc2")))) + (build-system cmake-build-system) + (arguments + (list #:tests? #f ;No tests. + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'fix-path + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "src/clipboard/Clipboard.cpp" + (("wl-copy" cmd) + (search-input-file + inputs (string-append "bin/" cmd))))))))) + (native-inputs (list gcc-13 hyprwayland-scanner pkg-config)) + (inputs + (list cairo + hyprutils + libjpeg-turbo + libxkbcommon + pango + wayland + wayland-protocols + wl-clipboard)) + (home-page "https://github.com/hyprwm/hyprpicker") + (synopsis "Wayland color picker compatible with @code{wlroots}") + (description + "This package provides a @code{wlroots}-compatible Wayland color picker.") + (license license:bsd-3))) + (define-public jumpapp (package (name "jumpapp") |