diff options
author | jgart <jgart@dismail.de> | 2022-11-19 13:14:21 -0600 |
---|---|---|
committer | Guix Patches Tester <> | 2022-11-19 22:29:42 +0100 |
commit | d8fae8d64ecbc57487af30e1790336a9d32a503d (patch) | |
tree | 10b9e870341074637a8aa8560e4c52d294016f42 | |
parent | 7018303f521f0702f29b6781bab74df87bef92d5 (diff) | |
download | guix-patches-d8fae8d64ecbc57487af30e1790336a9d32a503d.tar guix-patches-d8fae8d64ecbc57487af30e1790336a9d32a503d.tar.gz |
gnu: Add pastel.issue-59389
* gnu/packages/rust-apps.scm (pastel): New variable.
-rw-r--r-- | gnu/packages/crates-io.scm | 1 | ||||
-rw-r--r-- | gnu/packages/rust-apps.scm | 37 |
2 files changed, 38 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 8537da8a10..18d75f3a19 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -29,6 +29,7 @@ ;;; Copyright © 2022 Evgenii Lepikhin <e.lepikhin@corp.mail.ru> ;;; Copyright © 2022 Gabriel Arazas <foo.dogsquared@gmail.com> ;;; Copyright © 2022 ( <paren@disroot.org> +;;; Copyright © 2022 jgart <jgart@dismail.de> ;;; ;;; This file is part of GNU Guix. ;;; diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm index 693489264d..1c273dbdfc 100644 --- a/gnu/packages/rust-apps.scm +++ b/gnu/packages/rust-apps.scm @@ -20,6 +20,7 @@ ;;; Copyright © 2022 Gabriel Arazas <foo.dogsquared@gmail.com> ;;; Copyright © 2022 Ricardo Wurmus <rekado@elephly.net> ;;; Copyright © 2022 Mathieu Laparie <mlaparie@disr.it> +;;; Copyright © 2021, 2022 jgart <jgart@dismail.de> ;;; ;;; This file is part of GNU Guix. ;;; @@ -2026,6 +2027,42 @@ are safe to modify, and which staged changes belong to each of those commits. It will then write @code{fixup!} commits for each of those changes.") (license license:bsd-3))) +(define-public pastel + (package + (name "pastel") + (version "0.9.0") + (source (origin + (method url-fetch) + (uri (crate-uri "pastel" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1fjlw8np2bx0i1hk6lfq5swiif6ilj9f270vfh8yr62apq704g0f")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-atty" ,rust-atty-0.2) + ("rust-clap" ,rust-clap-3) + ("rust-clap" ,rust-clap-3) + ("rust-clap-complete" ,rust-clap-complete-3) + ("rust-nom" ,rust-nom-7) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-output-vt100" ,rust-output-vt100-0.1) + ("rust-output-vt100" ,rust-output-vt100-0.1) + ("rust-rand" ,rust-rand-0.8) + ("rust-regex" ,rust-regex-1)) + #:cargo-development-inputs (("rust-approx" ,rust-approx-0.5) + ("rust-assert-cmd" ,rust-assert-cmd-2) + ("rust-criterion" ,rust-criterion-0.3) + ("rust-rand-xoshiro" ,rust-rand-xoshiro-0.6)))) + (home-page "https://github.com/sharkdp/pastel") + (synopsis + "A command-line tool to generate, analyze, convert and manipulate colors") + (description + "This package provides a command-line tool to generate, analyze, convert and +manipulate colors") + (license (list license:expat license:asl2.0)))) + (define-public zoxide (package (name "zoxide") |