dotfiles/oni/packages/shutdown-rofi.scm

41 lines
1.5 KiB
Scheme
Raw Permalink Normal View History

2022-10-14 05:45:32 +02:00
(define-module (oni packages shutdown-rofi)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (gnu packages wm)
#:use-module (gnu packages xdisorg)
#:use-module (guix build-system gnu)
#:use-module (guix git-download)
#:use-module (guix packages))
(define-public shutdown-rofi
(let ((commit "79cc1bdbabe5d4a1521723de1a5b9c32a1df1c7c")
(revision "0"))
(package
2022-11-18 05:57:06 +01:00
(name "shutdown-rofi")
(version (git-version "0.0.0" revision commit))
(source
(origin
(uri (git-reference
(url "git://ryuslash.org/util/tom/shutdown-rofi")
(commit commit)))
(method git-fetch)
(sha256
(base32 "17c5hr3yrafmmgcxi6m0njhp113yfcylv7ifpgds06sxxn8wdzv0"))
(file-name (git-file-name name version))))
(propagated-inputs
(list herbstluftwm rofi))
(build-system gnu-build-system)
(arguments
`(#:tests? #f
#:phases
(modify-phases %standard-phases
(delete 'configure)
(delete 'build)
(replace 'install
(lambda* (#:key outputs #:allow-other-keys)
(let ((bin (string-append (assoc-ref outputs "out") "/bin")))
(install-file "shutdown-rofi" bin)))))))
(home-page "https://ryuslash.org/")
(synopsis "A simple script that shows a shutdown menu using rofi.")
(description "Uses rofi to show a simple shutdown menu.")
(license license:gpl3+))))