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)
#:use-module (gnu packages gnome)
#:use-module (gnu packages rust-apps)
#:use-module (gnu packages shells)
#:use-module (gnu packages terminals)
@ -6,7 +7,8 @@
#:use-module (guix gexp)
#:use-module (guix git-download)
#:use-module (guix build-system copy)
#:use-module ((guix licenses) #:prefix license:)
#:use-module ((guix licenses)
#:prefix license:)
#:export (fish-plugin-union))
@ -14,15 +16,15 @@
(package
(name "fish-autopair")
(version "1.0.4")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/jorgebucaran/autopair.fish")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32
"0mfx43n3ngbmyfp4a4m9a04gcgwlak6f9myx2089bhp5qkrkanmk"))))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/jorgebucaran/autopair.fish")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32 "0mfx43n3ngbmyfp4a4m9a04gcgwlak6f9myx2089bhp5qkrkanmk"))))
(build-system copy-build-system)
(arguments
(list #:install-plan #~'(("conf.d" "share/fish/")
@ -37,22 +39,21 @@ for the Fish shell.")
(package
(name "fish-fzf")
(version "10.3")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/PatrickF1/fzf.fish")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"1hqqppna8iwjnm8135qdjbd093583qd2kbq8pj507zpb1wn9ihjg"))))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/PatrickF1/fzf.fish")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1hqqppna8iwjnm8135qdjbd093583qd2kbq8pj507zpb1wn9ihjg"))))
(build-system copy-build-system)
(arguments
(list #:install-plan #~'(("completions" "share/fish/")
("conf.d" "share/fish/")
("functions" "share/fish/"))))
(propagated-inputs
(list fd fzf))
(propagated-inputs (list bat fd fzf))
(home-page "https://github.com/PatrickF1/fzf.fish")
(synopsis "Mnemonic key bindings for using fzf within the Fish shell.")
(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
(name "fish-bang-bang")
(version "1.0.0")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/oh-my-fish/plugin-bang-bang")
(commit "ec991b80ba7d4dda7a962167b036efc5c2d79419")))
(sha256
(base32
"1bf61f6h5p7mc0schwbd693cafp1vcjz2f7pzy6gn33nafsc5wx0"))))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/oh-my-fish/plugin-bang-bang")
(commit "ec991b80ba7d4dda7a962167b036efc5c2d79419")))
(sha256
(base32 "1bf61f6h5p7mc0schwbd693cafp1vcjz2f7pzy6gn33nafsc5wx0"))))
(build-system copy-build-system)
(arguments
(list #:install-plan #~'(("conf.d" "share/fish/")
("functions" "share/fish/"))))
(list #:install-plan #~'(("conf.d" "share/fish/")
("functions" "share/fish/"))))
(home-page "https://github.com/oh-my-fish/plugin-bang-bang")
(synopsis "Bash style history substitution for the Fish shell.")
(description "This package aims to provide Bash style history substitution
@ -85,18 +86,18 @@ for the Fish shell.")
(package
(name "fish-puffer")
(version "1.0.0")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/nickeb96/puffer-fish.git")
(commit (string-append "v" version))))
(sha256
(base32
"06g8pv68b0vyhhqzj469i9rcics67cq1kbhb8946azjb8f7rhy6s"))))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/nickeb96/puffer-fish.git")
(commit (string-append "v" version))))
(sha256
(base32 "06g8pv68b0vyhhqzj469i9rcics67cq1kbhb8946azjb8f7rhy6s"))))
(build-system copy-build-system)
(arguments
(list #:install-plan #~'(("functions" "share/fish/")
("conf.d" "share/fish/"))))
(list #:install-plan #~'(("functions" "share/fish/")
("conf.d" "share/fish/"))))
(home-page "https://github.com/nickeb96/puffer-fish.git")
(synopsis "Text Expansions for the Fish shell.")
(description "This plugin aims to provide text expansions for the Fish
@ -107,17 +108,17 @@ shell.")
(package
(name "fish-functional")
(version "1.0.0")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/oh-my-fish/plugin-functional")
(commit "0d3ab3169ff489714761c7a9ad21e268914afa31")))
(sha256
(base32
"0vnq4kpilg0z470d7782pp8wdj57cfkfad27d6mcylwl8n7wnhrn"))))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/oh-my-fish/plugin-functional")
(commit "0d3ab3169ff489714761c7a9ad21e268914afa31")))
(sha256
(base32 "0vnq4kpilg0z470d7782pp8wdj57cfkfad27d6mcylwl8n7wnhrn"))))
(build-system copy-build-system)
(arguments
(list #:install-plan #~'(("functions" "share/fish/"))))
(list #:install-plan #~'(("functions" "share/fish/"))))
(home-page "https://github.com/oh-my-fish/plugin-functional")
(synopsis "Higher order functions for the Fish shell.")
(description "This plugin aims to provide higher order functions for the
@ -128,17 +129,19 @@ Fish shell.")
(package
(name "fish-done")
(version "1.19.3")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/franciscolourenco/done")
(commit version)))
(sha256
(base32
"12l7m08bp8vfhl8dmi0bfpvx86i344zbg03v2bc7wfhm20li3hhc"))))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/franciscolourenco/done")
(commit version)))
(sha256
(base32 "12l7m08bp8vfhl8dmi0bfpvx86i344zbg03v2bc7wfhm20li3hhc"))))
(build-system copy-build-system)
(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")
(synopsis "A fish-shell plugin to automatically receive notifications when
long processes finish.")
@ -150,21 +153,45 @@ when long processes finish.")
(package
(name "fish-sponge")
(version "1.1.0")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/meaningful-ooo/sponge")
(commit version)))
(sha256
(base32
"0p4vk6pq858h2v39c41irrgw1fbbcs7gd9cdr9i9fd3d6i81kmri"))))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/meaningful-ooo/sponge")
(commit version)))
(sha256
(base32 "0p4vk6pq858h2v39c41irrgw1fbbcs7gd9cdr9i9fd3d6i81kmri"))))
(build-system copy-build-system)
(arguments
(list #:install-plan #~'(("conf.d" "share/fish/")
("functions" "share/fish/"))))
(list #:install-plan #~'(("conf.d" "share/fish/")
("functions" "share/fish/"))))
(home-page "https://github.com/meaningful-ooo/sponge")
(synopsis "A fish-shell plugin to clean fish history from typos
automatically.")
(description "A fish-shell plugin to clean fish history from typos
automatically.")
(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))))