Archived
1
0
Fork 0

gnu: tmux-themepack: Update to 1.1.0.

* gnu/packages/tmux.scm (tmux-themepack): Update to 1.1.0.
[arguments]: Install only selected files.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Matthew James Kraai 2021-07-05 03:22:32 -07:00 committed by Ludovic Courtès
parent 7273b66945
commit efcd669c5a
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -67,36 +67,38 @@ continue running in the background, then later reattached.")
(license license:isc))) (license license:isc)))
(define-public tmux-themepack (define-public tmux-themepack
(let ((commit "03a372866f7677f7fe63bcee140b48b9fd372c48") (package
(revision "1")) (name "tmux-themepack")
(package (version "1.1.0")
(name "tmux-themepack") (source (origin
(version (git-version "0.0.0" revision commit)) ; no version tags (method git-fetch)
(source (origin (uri (git-reference
(method git-fetch) (url "https://github.com/jimeh/tmux-themepack")
(uri (git-reference (commit version)))
(url "https://github.com/jimeh/tmux-themepack") (sha256
(commit commit))) (base32
(sha256 "00dmd16ngyag3n46rbnl9vy82ih6g0y02yfwkid32a1c8vdbvb3z"))
(base32 (file-name (git-file-name name version))))
"1d3k87mq5lca042jbap5kxskjy3kg79wjhhpnm6jacbn3anc67zl")) (build-system gnu-build-system)
(file-name (git-file-name name version)))) (arguments
(build-system gnu-build-system) `(#:tests? #f ; no test suite
(arguments #:phases (modify-phases %standard-phases
`(#:tests? #f ; no test suite (delete 'configure)
#:phases (modify-phases %standard-phases (delete 'build)
(delete 'configure) (replace 'install
(delete 'build) (lambda* (#:key outputs #:allow-other-keys)
(replace 'install (let* ((out (string-append
(lambda* (#:key outputs #:allow-other-keys) (assoc-ref outputs "out")
(let* ((out (string-append "/share/" ,name)))
(assoc-ref outputs "out") (copy-recursively "powerline" (string-append out "/powerline"))
"/share/" ,name "-" ,version))) (for-each (lambda (file) (copy-file file (string-append out "/" file)))
(copy-recursively "." out))))))) '("basic.tmuxtheme"
(home-page "https://github.com/jimeh/tmux-themepack") "default.tmuxtheme"
(synopsis "Collection of themes for Tmux") "themepack.tmux"))))))))
(description "A collection of various themes for Tmux.") (home-page "https://github.com/jimeh/tmux-themepack")
(license license:wtfpl2)))) (synopsis "Collection of themes for Tmux")
(description "A collection of various themes for Tmux.")
(license license:wtfpl2)))
(define-public tmuxifier (define-public tmuxifier
(package (package