aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2024-03-14 11:07:09 +0200
committerEfraim Flashner <efraim@flashner.co.il>2024-07-19 00:41:18 +0300
commitb0943835592eddebbbadf4e832ef778d11b109d3 (patch)
tree43fb7963a2d3e237c26932b7b0aa9cfc74024443 /gnu
parent3935d46d332c67746ce12c1e007d4b0533812cfc (diff)
downloadguix-b0943835592eddebbbadf4e832ef778d11b109d3.tar.gz
guix-b0943835592eddebbbadf4e832ef778d11b109d3.zip
gnu: Add rust-miette-7.
* gnu/packages/crates-io.scm (rust-miette-7): New variable. Change-Id: I0dd13d2ff23825e2e8a450c8730f487e325d5ec2
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm44
1 files changed, 44 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 672ae51194..bacc4f0717 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -38003,6 +38003,50 @@ quality, high performance hash algorithm.")
"This package provides a simple math expression parser and evaluator.")
(license (list license:unlicense license:expat))))
+(define-public rust-miette-7
+ (package
+ (name "rust-miette")
+ (version "7.2.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "miette" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1hdgjkkj1vgiqn9dq445m1p8z4y8adiaig8gh2mhsahc699qip2f"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-backtrace" ,rust-backtrace-0.3)
+ ("rust-backtrace-ext" ,rust-backtrace-ext-0.2)
+ ("rust-cfg-if" ,rust-cfg-if-1)
+ ("rust-miette-derive" ,rust-miette-derive-7)
+ ("rust-owo-colors" ,rust-owo-colors-4)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-supports-color" ,rust-supports-color-3)
+ ("rust-supports-hyperlinks" ,rust-supports-hyperlinks-3)
+ ("rust-supports-unicode" ,rust-supports-unicode-3)
+ ("rust-syntect" ,rust-syntect-5)
+ ("rust-terminal-size" ,rust-terminal-size-0.3)
+ ("rust-textwrap" ,rust-textwrap-0.16)
+ ("rust-thiserror" ,rust-thiserror-1)
+ ("rust-unicode-width" ,rust-unicode-width-0.1))
+ #:cargo-development-inputs
+ (("rust-futures" ,rust-futures-0.3)
+ ("rust-indenter" ,rust-indenter-0.3)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-regex" ,rust-regex-1)
+ ("rust-rustversion" ,rust-rustversion-1)
+ ("rust-semver" ,rust-semver-1)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-strip-ansi-escapes" ,rust-strip-ansi-escapes-0.2)
+ ("rust-syn" ,rust-syn-2)
+ ("rust-trybuild" ,rust-trybuild-1))))
+ (home-page "https://github.com/zkat/miette")
+ (synopsis "Diagnostic reporting library and protocol")
+ (description
+ "This package provides a diagnostic reporting library and protocol.")
+ (license license:asl2.0)))
+
(define-public rust-miette-derive-7
(package
(name "rust-miette-derive")