mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-18 13:36:36 +01:00
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>
This commit is contained in:
parent
dc08d9489b
commit
b1b56144b7
1 changed files with 17 additions and 20 deletions
|
@ -1040,13 +1040,13 @@ (define-public icewm
|
||||||
(define-public xmonad
|
(define-public xmonad
|
||||||
(package
|
(package
|
||||||
(name "xmonad")
|
(name "xmonad")
|
||||||
(version "0.17.2")
|
(version "0.18.0")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (hackage-uri "xmonad" version))
|
(uri (hackage-uri "xmonad" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "19qz9a23377nzc0qq8nca45s745mfncd4i2vwba14gi7ipipfcil"))))
|
(base32 "1ysxxjkkx2l160nlj1h8ysxrfhxjlmbws2nm0wyiivmjgn20xs11"))))
|
||||||
(build-system haskell-build-system)
|
(build-system haskell-build-system)
|
||||||
(properties '((upstream-name . "xmonad")))
|
(properties '((upstream-name . "xmonad")))
|
||||||
(arguments
|
(arguments
|
||||||
|
@ -1058,18 +1058,15 @@ (define-public xmonad
|
||||||
(let* ((xsessions (string-append #$output "/share/xsessions"))
|
(let* ((xsessions (string-append #$output "/share/xsessions"))
|
||||||
(entry (string-append xsessions "/xmonad.desktop")))
|
(entry (string-append xsessions "/xmonad.desktop")))
|
||||||
(mkdir-p xsessions)
|
(mkdir-p xsessions)
|
||||||
(call-with-output-file
|
(make-desktop-entry-file
|
||||||
entry
|
(string-append xsessions "/xmonad.desktop")
|
||||||
(lambda (port)
|
#:name "xmonad"
|
||||||
(format port "~
|
#:exec (string-append #$output "/bin/xmonad")
|
||||||
[Desktop Entry]~@
|
#:comment '((#f "xmonad window manager"))
|
||||||
Name=xmonad~@
|
#:type "Application")))))))
|
||||||
Comment=xmonad window manager~@
|
|
||||||
Exec=~a/bin/xmonad~@
|
|
||||||
Type=Application~%" #$output)))))))))
|
|
||||||
(inputs (list ghc-x11 ghc-data-default-class ghc-setlocale))
|
(inputs (list ghc-x11 ghc-data-default-class ghc-setlocale))
|
||||||
(native-inputs (list ghc-quickcheck ghc-quickcheck-classes))
|
(native-inputs (list ghc-quickcheck ghc-quickcheck-classes))
|
||||||
(home-page "http://xmonad.org")
|
(home-page "https://xmonad.org")
|
||||||
(synopsis "Tiling window manager")
|
(synopsis "Tiling window manager")
|
||||||
(description
|
(description
|
||||||
"Xmonad is a tiling window manager for X. Windows are arranged
|
"Xmonad is a tiling window manager for X. Windows are arranged
|
||||||
|
|
Loading…
Reference in a new issue