packages: fish-xyz: Add fish-colored-man

main
Luis Guilherme Coelho 2024-08-15 21:49:17 -03:00
parent b9d3110ef8
commit 58557b099c
No known key found for this signature in database
GPG Key ID: 1F2E76ACE3F531C8
1 changed files with 96 additions and 69 deletions

View File

@ -1,4 +1,5 @@
(define-module (radix packages fish-xyz) (define-module (radix packages fish-xyz)
#:use-module (gnu packages gnome)
#:use-module (gnu packages rust-apps) #:use-module (gnu packages rust-apps)
#:use-module (gnu packages shells) #:use-module (gnu packages shells)
#:use-module (gnu packages terminals) #:use-module (gnu packages terminals)
@ -6,7 +7,8 @@
#:use-module (guix gexp) #:use-module (guix gexp)
#:use-module (guix git-download) #:use-module (guix git-download)
#:use-module (guix build-system copy) #:use-module (guix build-system copy)
#:use-module ((guix licenses) #:prefix license:) #:use-module ((guix licenses)
#:prefix license:)
#:export (fish-plugin-union)) #:export (fish-plugin-union))
@ -14,15 +16,15 @@
(package (package
(name "fish-autopair") (name "fish-autopair")
(version "1.0.4") (version "1.0.4")
(source (origin (source
(origin
(method git-fetch) (method git-fetch)
(uri (git-reference (uri (git-reference
(url "https://github.com/jorgebucaran/autopair.fish") (url "https://github.com/jorgebucaran/autopair.fish")
(commit version))) (commit version)))
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32 "0mfx43n3ngbmyfp4a4m9a04gcgwlak6f9myx2089bhp5qkrkanmk"))))
"0mfx43n3ngbmyfp4a4m9a04gcgwlak6f9myx2089bhp5qkrkanmk"))))
(build-system copy-build-system) (build-system copy-build-system)
(arguments (arguments
(list #:install-plan #~'(("conf.d" "share/fish/") (list #:install-plan #~'(("conf.d" "share/fish/")
@ -37,22 +39,21 @@ for the Fish shell.")
(package (package
(name "fish-fzf") (name "fish-fzf")
(version "10.3") (version "10.3")
(source (origin (source
(origin
(method git-fetch) (method git-fetch)
(uri (git-reference (uri (git-reference
(url "https://github.com/PatrickF1/fzf.fish") (url "https://github.com/PatrickF1/fzf.fish")
(commit (string-append "v" version)))) (commit (string-append "v" version))))
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32 "1hqqppna8iwjnm8135qdjbd093583qd2kbq8pj507zpb1wn9ihjg"))))
"1hqqppna8iwjnm8135qdjbd093583qd2kbq8pj507zpb1wn9ihjg"))))
(build-system copy-build-system) (build-system copy-build-system)
(arguments (arguments
(list #:install-plan #~'(("completions" "share/fish/") (list #:install-plan #~'(("completions" "share/fish/")
("conf.d" "share/fish/") ("conf.d" "share/fish/")
("functions" "share/fish/")))) ("functions" "share/fish/"))))
(propagated-inputs (propagated-inputs (list bat fd fzf))
(list fd fzf))
(home-page "https://github.com/PatrickF1/fzf.fish") (home-page "https://github.com/PatrickF1/fzf.fish")
(synopsis "Mnemonic key bindings for using fzf within the Fish shell.") (synopsis "Mnemonic key bindings for using fzf within the Fish shell.")
(description "This package aims to augment your Fish shell with mnemonic (description "This package aims to augment your Fish shell with mnemonic
@ -63,14 +64,14 @@ key bindings to efficiently find what you need using fzf.")
(package (package
(name "fish-bang-bang") (name "fish-bang-bang")
(version "1.0.0") (version "1.0.0")
(source (origin (source
(origin
(method git-fetch) (method git-fetch)
(uri (git-reference (uri (git-reference
(url "https://github.com/oh-my-fish/plugin-bang-bang") (url "https://github.com/oh-my-fish/plugin-bang-bang")
(commit "ec991b80ba7d4dda7a962167b036efc5c2d79419"))) (commit "ec991b80ba7d4dda7a962167b036efc5c2d79419")))
(sha256 (sha256
(base32 (base32 "1bf61f6h5p7mc0schwbd693cafp1vcjz2f7pzy6gn33nafsc5wx0"))))
"1bf61f6h5p7mc0schwbd693cafp1vcjz2f7pzy6gn33nafsc5wx0"))))
(build-system copy-build-system) (build-system copy-build-system)
(arguments (arguments
(list #:install-plan #~'(("conf.d" "share/fish/") (list #:install-plan #~'(("conf.d" "share/fish/")
@ -85,14 +86,14 @@ for the Fish shell.")
(package (package
(name "fish-puffer") (name "fish-puffer")
(version "1.0.0") (version "1.0.0")
(source (origin (source
(origin
(method git-fetch) (method git-fetch)
(uri (git-reference (uri (git-reference
(url "https://github.com/nickeb96/puffer-fish.git") (url "https://github.com/nickeb96/puffer-fish.git")
(commit (string-append "v" version)))) (commit (string-append "v" version))))
(sha256 (sha256
(base32 (base32 "06g8pv68b0vyhhqzj469i9rcics67cq1kbhb8946azjb8f7rhy6s"))))
"06g8pv68b0vyhhqzj469i9rcics67cq1kbhb8946azjb8f7rhy6s"))))
(build-system copy-build-system) (build-system copy-build-system)
(arguments (arguments
(list #:install-plan #~'(("functions" "share/fish/") (list #:install-plan #~'(("functions" "share/fish/")
@ -107,14 +108,14 @@ shell.")
(package (package
(name "fish-functional") (name "fish-functional")
(version "1.0.0") (version "1.0.0")
(source (origin (source
(origin
(method git-fetch) (method git-fetch)
(uri (git-reference (uri (git-reference
(url "https://github.com/oh-my-fish/plugin-functional") (url "https://github.com/oh-my-fish/plugin-functional")
(commit "0d3ab3169ff489714761c7a9ad21e268914afa31"))) (commit "0d3ab3169ff489714761c7a9ad21e268914afa31")))
(sha256 (sha256
(base32 (base32 "0vnq4kpilg0z470d7782pp8wdj57cfkfad27d6mcylwl8n7wnhrn"))))
"0vnq4kpilg0z470d7782pp8wdj57cfkfad27d6mcylwl8n7wnhrn"))))
(build-system copy-build-system) (build-system copy-build-system)
(arguments (arguments
(list #:install-plan #~'(("functions" "share/fish/")))) (list #:install-plan #~'(("functions" "share/fish/"))))
@ -128,17 +129,19 @@ Fish shell.")
(package (package
(name "fish-done") (name "fish-done")
(version "1.19.3") (version "1.19.3")
(source (origin (source
(origin
(method git-fetch) (method git-fetch)
(uri (git-reference (uri (git-reference
(url "https://github.com/franciscolourenco/done") (url "https://github.com/franciscolourenco/done")
(commit version))) (commit version)))
(sha256 (sha256
(base32 (base32 "12l7m08bp8vfhl8dmi0bfpvx86i344zbg03v2bc7wfhm20li3hhc"))))
"12l7m08bp8vfhl8dmi0bfpvx86i344zbg03v2bc7wfhm20li3hhc"))))
(build-system copy-build-system) (build-system copy-build-system)
(arguments (arguments
(list #:install-plan #~'(("conf.d" "share/fish/")))) (list #:install-plan #~'(("conf.d" "share/fish/"))))
(propagated-inputs
(list libnotify))
(home-page "https://github.com/franciscolourenco/done") (home-page "https://github.com/franciscolourenco/done")
(synopsis "A fish-shell plugin to automatically receive notifications when (synopsis "A fish-shell plugin to automatically receive notifications when
long processes finish.") long processes finish.")
@ -150,14 +153,14 @@ when long processes finish.")
(package (package
(name "fish-sponge") (name "fish-sponge")
(version "1.1.0") (version "1.1.0")
(source (origin (source
(origin
(method git-fetch) (method git-fetch)
(uri (git-reference (uri (git-reference
(url "https://github.com/meaningful-ooo/sponge") (url "https://github.com/meaningful-ooo/sponge")
(commit version))) (commit version)))
(sha256 (sha256
(base32 (base32 "0p4vk6pq858h2v39c41irrgw1fbbcs7gd9cdr9i9fd3d6i81kmri"))))
"0p4vk6pq858h2v39c41irrgw1fbbcs7gd9cdr9i9fd3d6i81kmri"))))
(build-system copy-build-system) (build-system copy-build-system)
(arguments (arguments
(list #:install-plan #~'(("conf.d" "share/fish/") (list #:install-plan #~'(("conf.d" "share/fish/")
@ -168,3 +171,27 @@ automatically.")
(description "A fish-shell plugin to clean fish history from typos (description "A fish-shell plugin to clean fish history from typos
automatically.") automatically.")
(license license:expat))) (license license:expat)))
(define-public fish-colored-man
(let ((commit "1ad8fff696d48c8bf173aa98f9dff39d7916de0e")
(revision "0"))
(package
(name "fish-colored-man")
(version (git-version "0" revision commit))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/decors/fish-colored-man")
(commit commit)))
(file-name (git-file-name name version))
(sha256
(base32 "0l32a5bq3zqndl4ksy5iv988z2nv56a91244gh8mnrjv45wpi1ms"))))
(build-system copy-build-system)
(arguments
(list #:install-plan #~'(("functions" "share/fish/"))))
(home-page "https://github.com/decors/fish-colored-man")
(synopsis "Color-enabled man pages plugin for fish-shell.")
(description "This package provides color-enabled man pages plugin for
fish-shell.")
(license license:expat))))