summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorhiecaq <this@hiecaq.org>2024-11-28 23:20:35 +0800
committerZheng Junjie <zhengjunjie@iscas.ac.cn>2025-01-16 13:32:49 +0800
commitb1b56144b7e109bd86cbab648bb0979201a482c5 (patch)
treeb0b12cd52ed555f3003d8318836f00982cd01b66 /gnu
parentdc08d9489bf9c3077e130d807cc1a03cbfcc48d7 (diff)
gnu: xmonad: Update to 0.18.0.
* gnu/packages/wm.scm (xmonad): Update to 0.18.0. [home-page]: Use https. [arguments]<#:phases>: Use make-desktop-entry-file. Change-Id: Ia3d4a350c1e8eb82d8e11e151dd83b5a10c22ff5 Signed-off-by: Zheng Junjie <zhengjunjie@iscas.ac.cn>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/wm.scm37
1 files changed, 17 insertions, 20 deletions
diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
index 941ef45730..a13ebb29bd 100644
--- a/gnu/packages/wm.scm
+++ b/gnu/packages/wm.scm
@@ -1040,36 +1040,33 @@ manager and a system tray.")
(define-public xmonad
(package
(name "xmonad")
- (version "0.17.2")
+ (version "0.18.0")
(source
(origin
(method url-fetch)
(uri (hackage-uri "xmonad" version))
(sha256
- (base32 "19qz9a23377nzc0qq8nca45s745mfncd4i2vwba14gi7ipipfcil"))))
+ (base32 "1ysxxjkkx2l160nlj1h8ysxrfhxjlmbws2nm0wyiivmjgn20xs11"))))
(build-system haskell-build-system)
(properties '((upstream-name . "xmonad")))
(arguments
- (list
- #:phases
- #~(modify-phases %standard-phases
- (add-after 'install 'install-xsession
- (lambda _
- (let* ((xsessions (string-append #$output "/share/xsessions"))
- (entry (string-append xsessions "/xmonad.desktop")))
- (mkdir-p xsessions)
- (call-with-output-file
- entry
- (lambda (port)
- (format port "~
- [Desktop Entry]~@
- Name=xmonad~@
- Comment=xmonad window manager~@
- Exec=~a/bin/xmonad~@
- Type=Application~%" #$output)))))))))
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'install 'install-xsession
+ (lambda _
+ (let* ((xsessions (string-append #$output "/share/xsessions"))
+ (entry (string-append xsessions "/xmonad.desktop")))
+ (mkdir-p xsessions)
+ (make-desktop-entry-file
+ (string-append xsessions "/xmonad.desktop")
+ #:name "xmonad"
+ #:exec (string-append #$output "/bin/xmonad")
+ #:comment '((#f "xmonad window manager"))
+ #:type "Application")))))))
(inputs (list ghc-x11 ghc-data-default-class ghc-setlocale))
(native-inputs (list ghc-quickcheck ghc-quickcheck-classes))
- (home-page "http://xmonad.org")
+ (home-page "https://xmonad.org")
(synopsis "Tiling window manager")
(description
"Xmonad is a tiling window manager for X. Windows are arranged