guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#59389] [PATCH 26/26] gnu: Add pastel.


From: jgart
Subject: [bug#59389] [PATCH 26/26] gnu: Add pastel.
Date: Sat, 19 Nov 2022 12:45:33 -0600

* gnu/packages/rust-apps.scm (pastel): New variable.
---
 gnu/packages/rust-apps.scm | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm
index 693489264d..fbb12b4a1e 100644
--- a/gnu/packages/rust-apps.scm
+++ b/gnu/packages/rust-apps.scm
@@ -2026,6 +2026,42 @@ (define-public git-absorb
 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")
-- 
2.38.1






reply via email to

[Prev in Thread] Current Thread [Next in Thread]