aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/crates-io.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2024-01-07 12:02:27 +0200
committerEfraim Flashner <efraim@flashner.co.il>2024-02-20 13:57:33 +0200
commita9cb99563b0782109d0ce73511439e532f297722 (patch)
tree036a0f11d1d7497614a5a6a8841f2773683c4ad2 /gnu/packages/crates-io.scm
parent0ae2e9c43a762fc2acccbc658d19fa92de40c4d6 (diff)
downloadguix-a9cb99563b0782109d0ce73511439e532f297722.tar.gz
guix-a9cb99563b0782109d0ce73511439e532f297722.zip
gnu: Add rust-anstyle-parse-0.1.
* gnu/packages/crates-io.scm (rust-anstyle-parse-0.1): New variable. Change-Id: I87eb6fd62500ce5033947291dd8c19b4eb98cf09
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r--gnu/packages/crates-io.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f12a6d36e7..5c47fb6260 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -2184,6 +2184,32 @@ text to a terminal.")
(description "Parse ANSI Style Escapes")
(license (list license:expat license:asl2.0))))
+(define-public rust-anstyle-parse-0.1
+ (package
+ (inherit rust-anstyle-parse-0.2)
+ (name "rust-anstyle-parse")
+ (version "0.1.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "anstyle-parse" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "05h1zy6y2ha2k8cnah9s0a296w2g3bfyfi2z7r7x3zly9r9vpld7"))))
+ (arguments
+ `(#:cargo-test-flags
+ '("--release" "--"
+ ;; not all files included
+ "--skip=state::codegen::table")
+ #:cargo-inputs (("rust-arrayvec" ,rust-arrayvec-0.7)
+ ("rust-utf8parse" ,rust-utf8parse-0.2))
+ #:cargo-development-inputs
+ (("rust-codegenrs" ,rust-codegenrs-2)
+ ("rust-criterion" ,rust-criterion-0.4)
+ ("rust-proptest" ,rust-proptest-1)
+ ("rust-snapbox" ,rust-snapbox-0.4)
+ ("rust-vte-generate-state-changes" ,rust-vte-generate-state-changes-0.1))))))
+
(define-public rust-anstyle-query-1
(package
(name "rust-anstyle-query")