mirror of
https://github.com/SqrtMinusOne/channel-q.git
synced 2025-12-10 11:43:03 +03:00
feat(starship): migrate to binaries
This commit is contained in:
parent
590af530d1
commit
0531901c54
2 changed files with 44 additions and 1 deletions
|
|
@ -24,7 +24,7 @@ I'll probably push what I can upstream when I figure Guix out.
|
||||||
| [[https://github.com/atreyasha/i3-balance-workspace][i3-balance-workspace]] | Works | Tests fail |
|
| [[https://github.com/atreyasha/i3-balance-workspace][i3-balance-workspace]] | Works | Tests fail |
|
||||||
| [[https://github.com/tmux-python/tmuxp][tmuxp]] | Works | Tests fail |
|
| [[https://github.com/tmux-python/tmuxp][tmuxp]] | Works | Tests fail |
|
||||||
| [[https://github.com/hroptatyr/dateutils][dateutils]] | Works | Tests fail |
|
| [[https://github.com/hroptatyr/dateutils][dateutils]] | Works | Tests fail |
|
||||||
| [[https://starship.rs/][starship]] | Works | Tests fail |
|
| [[https://starship.rs/][starship]] | Works | Installation from binaries |
|
||||||
| [[https://github.com/gauteh/lieer][lieer]] | Works | Tests fail for dependencies |
|
| [[https://github.com/gauteh/lieer][lieer]] | Works | Tests fail for dependencies |
|
||||||
| [[https://activitywatch.net/][ActivityWatch]] | Works... | Except for aw-qt. Installation from binaries |
|
| [[https://activitywatch.net/][ActivityWatch]] | Works... | Except for aw-qt. Installation from binaries |
|
||||||
| [[https://github.com/yt-dlp/yt-dlp][yt-dlp]] | Removed | Removed in favour of the upstream definition |
|
| [[https://github.com/yt-dlp/yt-dlp][yt-dlp]] | Removed | Removed in favour of the upstream definition |
|
||||||
|
|
|
||||||
43
starship.scm
Normal file
43
starship.scm
Normal file
|
|
@ -0,0 +1,43 @@
|
||||||
|
(define-module (starship)
|
||||||
|
#:use-module (gnu packages base)
|
||||||
|
#:use-module (gnu packages compression)
|
||||||
|
#:use-module (gnu packages gcc)
|
||||||
|
#:use-module (guix download)
|
||||||
|
#:use-module (guix packages)
|
||||||
|
#:use-module ((guix licenses) #:prefix license:)
|
||||||
|
#:use-module (nonguix build-system binary))
|
||||||
|
|
||||||
|
(define-public starship
|
||||||
|
(package
|
||||||
|
(name "starship-bin")
|
||||||
|
(version "1.12.0")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (string-append
|
||||||
|
"https://github.com/starship/starship/releases/download/v"
|
||||||
|
version
|
||||||
|
"/starship-x86_64-unknown-linux-gnu.tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"0zq5mn8m3jaqhx1px108izh5ibi23jcwy0wragip8dy1swb3kzr3"))))
|
||||||
|
(build-system binary-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:install-plan
|
||||||
|
`(("starship" "/bin/"))
|
||||||
|
#:patchelf-plan
|
||||||
|
`(("starship" ("gcc:lib" "glibc")))
|
||||||
|
#:phases
|
||||||
|
(modify-phases %standard-phases
|
||||||
|
(replace 'unpack
|
||||||
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
|
(invoke "tar" "-xvzf" (assoc-ref inputs "source")))))))
|
||||||
|
(inputs
|
||||||
|
`(("gcc:lib" ,gcc "lib")
|
||||||
|
("glibc" ,glibc)))
|
||||||
|
(native-inputs
|
||||||
|
`(("gzip" ,gzip)))
|
||||||
|
(synopsis "Starship is the minimal, blazing fast, and extremely customizable prompt for any shell!")
|
||||||
|
(description "Starship is the minimal, blazing fast, and extremely customizable prompt for any shell!")
|
||||||
|
(home-page "https://github.com/starship/starship")
|
||||||
|
(license license:isc)))
|
||||||
Loading…
Add table
Reference in a new issue