aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/crates-io.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2024-01-07 12:02:24 +0200
committerEfraim Flashner <efraim@flashner.co.il>2024-02-20 13:57:32 +0200
commit1e5f8b12ebb73cf5b6ac09f07c5764423d7dee82 (patch)
tree0bcba74594b95cc798fcaa004bd4d1c61067cfb5 /gnu/packages/crates-io.scm
parent70f7f6312d2f27e5a703366e309beaae0599a9f1 (diff)
downloadguix-1e5f8b12ebb73cf5b6ac09f07c5764423d7dee82.tar.gz
guix-1e5f8b12ebb73cf5b6ac09f07c5764423d7dee82.zip
gnu: Add rust-thiserror-core-1.
* gnu/packages/crates-io.scm (rust-thiserror-core-1): New variable. Change-Id: I7f0b202e8c883f0fa2546f141fa65962058364d2
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r--gnu/packages/crates-io.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 2f12b97dc1..2bfa0e6db8 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -73948,6 +73948,30 @@ handle Unicode characters correctly.")
(description "This package provides @code{derive(Error)} in Rust.")
(license (list license:expat license:asl2.0))))
+(define-public rust-thiserror-core-1
+ (package
+ (name "rust-thiserror-core")
+ (version "1.0.50")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "thiserror-core" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "16g9j00g7bn8q1wk2i5p5f88vrhr04igxisqpwngdqz5nwcfw0f0"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ; use of undeclared crate or module `thiserror`
+ #:cargo-inputs (("rust-thiserror-core-impl" ,rust-thiserror-core-impl-1))
+ #:cargo-development-inputs (("rust-anyhow" ,rust-anyhow-1)
+ ("rust-ref-cast" ,rust-ref-cast-1)
+ ("rust-rustversion" ,rust-rustversion-1)
+ ("rust-trybuild" ,rust-trybuild-1))))
+ (home-page "https://github.com/FlorianUekermann/thiserror")
+ (synopsis "derive(Error)")
+ (description "This package provides @code{derive(Error)} in Rust.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-thiserror-core-impl-1
(package
(name "rust-thiserror-core-impl")