gnu: i3blocks: Update to 1.5.

* gnu/packages/wm.scm (i3blocks): Update to 1.5.
[source]: Use git tag.
[arguments]: Remove entirely.
This commit is contained in:
Tobias Geerinckx-Rice 2019-09-10 19:38:40 +02:00
parent 07c0110eac
commit 97e036cac1
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 21 additions and 33 deletions

View File

@ -271,42 +271,30 @@ Despite the name it should work with any X11 window manager.")
(license license:bsd-3))) (license license:bsd-3)))
(define-public i3blocks (define-public i3blocks
(let ((commit "ec050e79ad8489a6f8deb37d4c20ab10729c25c3") (package
(revision "2")) (name "i3blocks")
(package (version "1.5")
(name "i3blocks") (source (origin
(version (string-append "1.4-" revision "." (method git-fetch)
(string-take commit 7))) (uri (git-reference
(source (origin (url "https://github.com/vivien/i3blocks.git")
(method git-fetch) (commit version)))
(uri (git-reference (sha256
(url "https://github.com/vivien/i3blocks.git") (base32
(commit commit))) "0v8mwnm8qzpv6xnqvrk43s4b9iyld4naqzbaxk4ldq1qkhai0wsv"))
(sha256 (file-name (git-file-name name version))))
(base32 (build-system gnu-build-system)
"1fx4230lmqa5rpzph68dwnpcjfaaqv5gfkradcr85hd1z8d1qp1b")) (native-inputs
(file-name (git-file-name name version)))) `(("autoconf" ,autoconf)
(build-system gnu-build-system) ("automake" ,automake)
(arguments ("pkg-config" ,pkg-config)))
`(#:make-flags (list "CC=gcc" (string-append "PREFIX=" %output)) (home-page "https://github.com/vivien/i3blocks")
#:phases (modify-phases %standard-phases (synopsis "Minimalist scheduler for status bar scripts")
(add-after 'install 'install-doc (description "i3blocks executes your command lines and generates a
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
(man1 (string-append out "/share/man/man1")))
(install-file "docs/i3blocks.1" man1)
#t))))))
(native-inputs
`(("autoconf" ,autoconf)
("automake" ,automake)
("pkg-config" ,pkg-config)))
(home-page "https://github.com/vivien/i3blocks")
(synopsis "Minimalist scheduler for status bar scripts")
(description "i3blocks executes your command lines and generates a
status line from their output. The generated line is meant to be displayed by status line from their output. The generated line is meant to be displayed by
the i3 window manager through its i3bar component, as an alternative to the i3 window manager through its i3bar component, as an alternative to
i3status.") i3status.")
(license license:gpl3+)))) (license license:gpl3+)))
(define-public perl-anyevent-i3 (define-public perl-anyevent-i3
(package (package