gnu: ulauncher: Improve style.

* gnu/packages/xdisorg.scm (ulauncher): Run guix style and properly
pin the commit with a git-version.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
Nicolas Graves 2025-06-19 09:58:49 +02:00 committed by Sharlatan Hellseher
parent 3eb053cc68
commit e89238cce7
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -2166,21 +2166,25 @@ connectivity of the X server running on a particular @code{DISPLAY}.")
(license license:gpl3+)))
(define-public ulauncher
(let ((commit "1e68d47473f8e77d375cb4eca644c3cda68ed7e9")
(revision "4"))
(package
(name "ulauncher")
(version "6.0.0")
(source (origin
(version (git-version "6.0.0" revision commit))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/Ulauncher/Ulauncher")
(commit "1e68d47473f8e77d375cb4eca644c3cda68ed7e9")))
(commit commit)))
(file-name (git-file-name name version))
(sha256
(base32
"1c2czlrsf5aq8c88qliqbnqvf04q9cnjc1j6hivqa0w260mzjll1"))))
(base32 "1c2czlrsf5aq8c88qliqbnqvf04q9cnjc1j6hivqa0w260mzjll1"))))
(build-system python-build-system)
(arguments
(list #:phases #~(modify-phases %standard-phases
(list
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'fix-libX11
(lambda* (#:key inputs #:allow-other-keys)
(substitute* "ulauncher/utils/xinit.py"
@ -2197,8 +2201,7 @@ connectivity of the X server running on a particular @code{DISPLAY}.")
(call-with-output-file file
(const #t)))
(let* ((hard-path "/etc/os-release")
(fixed-path (string-append #$output
hard-path)))
(fixed-path (string-append #$output hard-path)))
;; Make it relative
;; Update hardcoded path to something
;; within the build enviroment.
@ -2223,7 +2226,7 @@ connectivity of the X server running on a particular @code{DISPLAY}.")
"Ulauncher is a fast application launcher for Linux. It is written in
Python, using GTK+, and features: App Search (fuzzy matching), Calculator,
Extensions, Shortcuts, File browser mode and Custom Color Themes.")
(license license:gpl3+)))
(license license:gpl3+))))
(define-public rofi
(package