diff options
Diffstat (limited to 'guix-packages/starship.scm')
-rw-r--r-- | guix-packages/starship.scm | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/guix-packages/starship.scm b/guix-packages/starship.scm new file mode 100644 index 0000000..7293dc3 --- /dev/null +++ b/guix-packages/starship.scm @@ -0,0 +1,36 @@ + +(define-module (starship) + #:use-module (gnu packages) + #:use-module (gnu packages build-tools) + #:use-module (guix build-system copy) + #:use-module (guix download) + #:use-module (guix git-download) + #:use-module (guix licenses) + #:use-module (guix packages) + #:use-module (guix gexp) + #:use-module (guix build-system gnu) + #:use-module (guix build-system asdf)) + +;; A temporary fix based on this patch: +;; +;;https://lists.gnu.org/archive/html/guix-patches/2021-10/msg00762.html + +(define-public starship-prompt-bin + (package + (name "starship") + (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-musl.tar.gz")) + (sha256 + (base32 + "0w2w20lxx8l662xdcvjdb033sglhgfg3dnm5jfjb5z5sixwd37x0")))) + (build-system asdf-build-system/source) + (synopsis "binary of starship -- The cross-shell prompt for astronauts.") + (description "Cross shell prompt") + (home-page "https://starship.rs/") + (license gpl2+))) + +starship-prompt-bin |