mirror of
https://codeberg.org/hako/Rosenthal.git
synced 2025-02-03 16:05:33 +00:00
rosenthal: Add grimblast.
* rosenthal/packages/wm.scm (grimblast): New variable.
This commit is contained in:
parent
9be629c953
commit
4c36462bef
@ -128,3 +128,44 @@
|
||||
layouts, fancy effects, has a very flexible IPC model allowing for a lot of
|
||||
customization, and more.")
|
||||
(license license:bsd-3)))
|
||||
|
||||
;; No releases yet.
|
||||
(define-public grimblast
|
||||
(let ((revision "0")
|
||||
(commit "5b21c74a3200ffdd48ed7764c7041d43c3cd5588"))
|
||||
(package
|
||||
(name "grimblast")
|
||||
(version (git-version "0" revision commit))
|
||||
(source (origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://github.com/hyprwm/contrib")
|
||||
(commit commit)))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32
|
||||
"1wbpmf1dsf1syh7jbirglqkscsrn7l496j7afwxpbdjragagbhc0"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
(list #:tests? #f ;no tests
|
||||
#:make-flags
|
||||
#~(list (string-append "PREFIX=" #$output))
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(delete 'configure)
|
||||
(add-after 'unpack 'chdir
|
||||
(lambda _
|
||||
(chdir "grimblast")))
|
||||
(add-after 'chdir 'patch-script-dependencies
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
(substitute* "grimblast"
|
||||
(("\\b(date|grim|jq|notify-send|slurp|hyprctl|wl-copy)\\b"
|
||||
_ binary)
|
||||
(search-input-file
|
||||
inputs (string-append "bin/" binary)))))))))
|
||||
(native-inputs (list scdoc))
|
||||
(inputs (list grim jq libnotify slurp hyprland wl-clipboard))
|
||||
(home-page "https://github.com/hyprwm/contrib")
|
||||
(synopsis "Hyprland version of Grimshot")
|
||||
(description "A Hyprland version of Grimshot.")
|
||||
(license license:expat))))
|
||||
|
Loading…
Reference in New Issue
Block a user