summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorBassam Saeed <guix@bassamsaeed.ca>2025-02-22 14:22:22 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2025-02-22 14:22:22 +0100
commit7a23c56a18b3e624e88eedb034c8f2cd68b58bad (patch)
tree8d4ba58e21c5b6e89fca99cea04bc618fda6f4af /gnu
parent1fbc2625d23b782d60d96b4a4cd037df6d30df40 (diff)
gnu: Add pastel.
* gnu/packages/rust-apps.scm (pastel): New variable. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr> Change-Id: I0b659d07be9fcdec4b30c9ea286f65ed55731342
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/rust-apps.scm39
1 files changed, 39 insertions, 0 deletions
diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm
index 5d4691110ea..a19c7ef8cfa 100644
--- a/gnu/packages/rust-apps.scm
+++ b/gnu/packages/rust-apps.scm
@@ -2860,6 +2860,45 @@ by modifying your @file{Cargo.toml} file from the command line.")
2860rebase.") 2860rebase.")
2861 (license license:gpl3+))) 2861 (license license:gpl3+)))
2862 2862
2863(define-public pastel
2864 (package
2865 (name "pastel")
2866 (version "0.10.0")
2867 (source
2868 (origin
2869 (method url-fetch)
2870 (uri (crate-uri "pastel" version))
2871 (file-name (string-append name "-" version ".tar.gz"))
2872 (sha256
2873 (base32 "1mwy4nx3jn74sr1q8ap98faja5wp7hz51yqga8l050xz645kb8wj"))))
2874 (build-system cargo-build-system)
2875 (arguments
2876 (list
2877 #:install-source? #f
2878 #:cargo-inputs
2879 `(("rust-atty" ,rust-atty-0.2)
2880 ("rust-clap" ,rust-clap-3)
2881 ("rust-clap-complete" ,rust-clap-complete-3)
2882 ("rust-nom" ,rust-nom-7)
2883 ("rust-once-cell" ,rust-once-cell-1)
2884 ("rust-output-vt100" ,rust-output-vt100-0.1)
2885 ("rust-rand" ,rust-rand-0.8)
2886 ("rust-regex" ,rust-regex-1))
2887 #:cargo-development-inputs
2888 `(("rust-approx" ,rust-approx-0.5)
2889 ("rust-assert-cmd" ,rust-assert-cmd-2)
2890 ("rust-criterion" ,rust-criterion-0.5)
2891 ("rust-rand-xoshiro" ,rust-rand-xoshiro-0.6))))
2892 (home-page "https://github.com/sharkdp/pastel")
2893 (synopsis
2894 "Command-line tool to generate, analyze, convert and manipulate colors")
2895 (description
2896 "Pastel is a command-line tool to generate, analyze, convert and
2897manipulate colors. It supports many different color formats and color spaces
2898like RGB (sRGB), HSL, CIELAB, CIELCh as well as ANSI 8-bit and 24-bit
2899representations.")
2900 (license (list license:expat license:asl2.0))))
2901
2863(define-public procs 2902(define-public procs
2864 (package 2903 (package
2865 (name "procs") 2904 (name "procs")