gnu: guix-simplyblack-sddm-theme: Update to 0.2.

* gnu/packages/display-managers.scm (guix-simplyblack-sddm-theme): Update to 0.2.

Change-Id: I2332f51da9c9a41bdd9a55af2a5d2f3336e6c586
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Fredrik Salomonsson 2024-08-26 01:27:24 +00:00 committed by Ludovic Courtès
parent ed0d985385
commit 6c132dfce8
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -7,7 +7,7 @@
;;; Copyright © 2017 Marius Bakke <mbakke@fastmail.com> ;;; Copyright © 2017 Marius Bakke <mbakke@fastmail.com>
;;; Copyright © 2017, 2020 Tobias Geerinckx-Rice <me@tobias.gr> ;;; Copyright © 2017, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2020 L p R n d n <guix@lprndn.info> ;;; Copyright © 2020 L p R n d n <guix@lprndn.info>
;;; Copyright © 2020 Fredrik Salomonsson <plattfot@gmail.com> ;;; Copyright © 2020, 2024 Fredrik Salomonsson <plattfot@posteo.net>
;;; Copyright © 2020 Vincent Legoll <vincent.legoll@gmail.com> ;;; Copyright © 2020 Vincent Legoll <vincent.legoll@gmail.com>
;;; Copyright © 2021 Zheng Junjie <873216071@qq.com> ;;; Copyright © 2021 Zheng Junjie <873216071@qq.com>
;;; Copyright © 2021-2023 Efraim Flashner <efraim@flashner.co.il> ;;; Copyright © 2021-2023 Efraim Flashner <efraim@flashner.co.il>
@ -222,26 +222,33 @@ (define-public dexy-color-sddm-theme
(define-public guix-simplyblack-sddm-theme (define-public guix-simplyblack-sddm-theme
(package (package
(name "guix-simplyblack-sddm-theme") (name "guix-simplyblack-sddm-theme")
(version "0.1") (version "0.2")
(source (origin (source
(origin
(method git-fetch) (method git-fetch)
(uri (git-reference (uri (git-reference
(url "https://github.com/plattfot/guix-simplyblack-sddm") (url "https://github.com/plattfot/guix-simplyblack-sddm")
(commit version))) (commit version)))
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 "1fwny6b0xpjs8ad2b16pyxd27gf0sr0nillmhc2h5k0q7dva21vi")))) (base32 "09vb9b0pmyhj6fh0b6by59bykszbkdayhz678pnb4pyrdmlvv1am"))))
(build-system trivial-build-system) (build-system trivial-build-system)
(arguments (arguments
`(#:modules ((guix build utils)) `(#:modules ((guix build utils)
#:builder (srfi srfi-26))
(begin #:builder (begin
(use-modules (guix build utils)) (use-modules (guix build utils)
(srfi srfi-26))
(let* ((out (assoc-ref %outputs "out")) (let* ((out (assoc-ref %outputs "out"))
(sddm-themes (string-append out "/share/sddm/themes"))) (themes-dir (string-append out
(mkdir-p sddm-themes) "/share/sddm/themes/guix-simplyblack-sddm/")))
(mkdir-p themes-dir)
(copy-recursively (assoc-ref %build-inputs "source") (copy-recursively (assoc-ref %build-inputs "source")
(string-append sddm-themes "/guix-simplyblack-sddm")))))) themes-dir)
(substitute* (map (cut string-append themes-dir <>)
'("Main.qml" "theme.conf"))
(("file:")
themes-dir))))))
(home-page "https://github.com/plattfot/guix-simplyblack-sddm") (home-page "https://github.com/plattfot/guix-simplyblack-sddm")
(synopsis "Guix based theme for SDDM") (synopsis "Guix based theme for SDDM")
(description (description