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
(method git-fetch) (origin
(uri (git-reference (method git-fetch)
(url "https://github.com/jorgebucaran/autopair.fish") (uri (git-reference
(commit version))) (url "https://github.com/jorgebucaran/autopair.fish")
(file-name (git-file-name name version)) (commit version)))
(sha256 (file-name (git-file-name name version))
(base32 (sha256
"0mfx43n3ngbmyfp4a4m9a04gcgwlak6f9myx2089bhp5qkrkanmk")))) (base32 "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
(method git-fetch) (origin
(uri (git-reference (method git-fetch)
(url "https://github.com/PatrickF1/fzf.fish") (uri (git-reference
(commit (string-append "v" version)))) (url "https://github.com/PatrickF1/fzf.fish")
(file-name (git-file-name name version)) (commit (string-append "v" version))))
(sha256 (file-name (git-file-name name version))
(base32 (sha256
"1hqqppna8iwjnm8135qdjbd093583qd2kbq8pj507zpb1wn9ihjg")))) (base32 "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,18 +64,18 @@ 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
(method git-fetch) (origin
(uri (git-reference (method git-fetch)
(url "https://github.com/oh-my-fish/plugin-bang-bang") (uri (git-reference
(commit "ec991b80ba7d4dda7a962167b036efc5c2d79419"))) (url "https://github.com/oh-my-fish/plugin-bang-bang")
(sha256 (commit "ec991b80ba7d4dda7a962167b036efc5c2d79419")))
(base32 (sha256
"1bf61f6h5p7mc0schwbd693cafp1vcjz2f7pzy6gn33nafsc5wx0")))) (base32 "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/")
("functions" "share/fish/")))) ("functions" "share/fish/"))))
(home-page "https://github.com/oh-my-fish/plugin-bang-bang") (home-page "https://github.com/oh-my-fish/plugin-bang-bang")
(synopsis "Bash style history substitution for the Fish shell.") (synopsis "Bash style history substitution for the Fish shell.")
(description "This package aims to provide Bash style history substitution (description "This package aims to provide Bash style history substitution
@ -85,18 +86,18 @@ for the Fish shell.")
(package (package
(name "fish-puffer") (name "fish-puffer")
(version "1.0.0") (version "1.0.0")
(source (origin (source
(method git-fetch) (origin
(uri (git-reference (method git-fetch)
(url "https://github.com/nickeb96/puffer-fish.git") (uri (git-reference
(commit (string-append "v" version)))) (url "https://github.com/nickeb96/puffer-fish.git")
(sha256 (commit (string-append "v" version))))
(base32 (sha256
"06g8pv68b0vyhhqzj469i9rcics67cq1kbhb8946azjb8f7rhy6s")))) (base32 "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/")
("conf.d" "share/fish/")))) ("conf.d" "share/fish/"))))
(home-page "https://github.com/nickeb96/puffer-fish.git") (home-page "https://github.com/nickeb96/puffer-fish.git")
(synopsis "Text Expansions for the Fish shell.") (synopsis "Text Expansions for the Fish shell.")
(description "This plugin aims to provide text expansions for the Fish (description "This plugin aims to provide text expansions for the Fish
@ -107,17 +108,17 @@ shell.")
(package (package
(name "fish-functional") (name "fish-functional")
(version "1.0.0") (version "1.0.0")
(source (origin (source
(method git-fetch) (origin
(uri (git-reference (method git-fetch)
(url "https://github.com/oh-my-fish/plugin-functional") (uri (git-reference
(commit "0d3ab3169ff489714761c7a9ad21e268914afa31"))) (url "https://github.com/oh-my-fish/plugin-functional")
(sha256 (commit "0d3ab3169ff489714761c7a9ad21e268914afa31")))
(base32 (sha256
"0vnq4kpilg0z470d7782pp8wdj57cfkfad27d6mcylwl8n7wnhrn")))) (base32 "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/"))))
(home-page "https://github.com/oh-my-fish/plugin-functional") (home-page "https://github.com/oh-my-fish/plugin-functional")
(synopsis "Higher order functions for the Fish shell.") (synopsis "Higher order functions for the Fish shell.")
(description "This plugin aims to provide higher order functions for the (description "This plugin aims to provide higher order functions for the
@ -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
(method git-fetch) (origin
(uri (git-reference (method git-fetch)
(url "https://github.com/franciscolourenco/done") (uri (git-reference
(commit version))) (url "https://github.com/franciscolourenco/done")
(sha256 (commit version)))
(base32 (sha256
"12l7m08bp8vfhl8dmi0bfpvx86i344zbg03v2bc7wfhm20li3hhc")))) (base32 "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,21 +153,45 @@ when long processes finish.")
(package (package
(name "fish-sponge") (name "fish-sponge")
(version "1.1.0") (version "1.1.0")
(source (origin (source
(method git-fetch) (origin
(uri (git-reference (method git-fetch)
(url "https://github.com/meaningful-ooo/sponge") (uri (git-reference
(commit version))) (url "https://github.com/meaningful-ooo/sponge")
(sha256 (commit version)))
(base32 (sha256
"0p4vk6pq858h2v39c41irrgw1fbbcs7gd9cdr9i9fd3d6i81kmri")))) (base32 "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/")
("functions" "share/fish/")))) ("functions" "share/fish/"))))
(home-page "https://github.com/meaningful-ooo/sponge") (home-page "https://github.com/meaningful-ooo/sponge")
(synopsis "A fish-shell plugin to clean fish history from typos (synopsis "A fish-shell plugin to clean fish history from typos
automatically.") 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))))