(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 (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+))))