summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortechchud <protrude_paying969@simplelogin.com>2025-09-01 20:08:02 -0500
committertechchud <protrude_paying969@simplelogin.com>2025-09-01 20:08:02 -0500
commit4c8f1510ff4891bff52d28e8892360b7e598fbb7 (patch)
tree3f73a4c3b962779a8217da06ec9b050efe2f9672
parentdf2c8221097411f77166c36f474042c2bd2938c0 (diff)
downloadguix-techchud-4c8f1510ff4891bff52d28e8892360b7e598fbb7.tar.gz
guix-techchud-4c8f1510ff4891bff52d28e8892360b7e598fbb7.tar.bz2
guix-techchud-4c8f1510ff4891bff52d28e8892360b7e598fbb7.zip
rust-thiserror readded
-rw-r--r--unlustig.scm44
1 files changed, 44 insertions, 0 deletions
diff --git a/unlustig.scm b/unlustig.scm
index 168e8a2..736cae3 100644
--- a/unlustig.scm
+++ b/unlustig.scm
@@ -2230,3 +2230,47 @@ See winapi for types and constants.")
@code{#[derive(Serialize, Deserialize)]}.")
(license (list license:expat license:asl2.0))))
+(define-public rust-thiserror-1
+ (package
+ (inherit rust-thiserror-2)
+ (name "rust-thiserror")
+ (version "1.0.69")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "thiserror" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0lizjay08agcr5hs9yfzzj6axs53a2rgx070a1dsi3jpkcrzbamn"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-thiserror-impl" ,rust-thiserror-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))))))
+
+(define-public rust-thiserror-2
+ (package
+ (name "rust-thiserror")
+ (version "2.0.9")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "thiserror" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1k5j0ri0kjrnlblv5ikaglbkg1sxxwh0qrxbidxgc38rs0zn8wph"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-thiserror-impl" ,rust-thiserror-impl-2))
+ #: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/dtolnay/thiserror")
+ (synopsis "derive(Error)")
+ (description "This package provides @code{derive(Error)} in Rust.")
+ (license (list license:expat license:asl2.0))))
+