summaryrefslogtreecommitdiff
path: root/guix-packages/starship.scm
blob: 7293dc35538ed32521a8df2397ca23db4537640c (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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