efraim pushed a commit to branch rust-team
in repository guix.
commit 7a4cb37dc72eca1357a040c480c1fb7f98621443
Author: Efraim Flashner <[email protected]>
AuthorDate: Mon May 22 17:56:41 2023 +0300
gnu: Add rust-fehler-1.
* gnu/packages/crates-io.scm (rust-fehler-1): New variable.
---
gnu/packages/crates-io.scm | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d23ac17d3b..34d1bbdd04 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -22641,6 +22641,26 @@ Atom, RSS 2.0, RSS 1.0, RSS 0.x and JSON Feed")
;; No copyright headers in the source code. LICENSE indicates gpl3.
(license license:gpl3)))
+(define-public rust-fehler-1
+ (package
+ (name "rust-fehler")
+ (version "1.0.0")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "fehler" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0d9nk0nimhrqhlwsm42kmg6bwhfqscnfddj70xawsa50kgj9ywnm"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-fehler-macros" ,rust-fehler-macros-1))))
+ (home-page "https://github.com/withoutboats/fehler")
+ (synopsis "Library for error-handling syntax in Rust")
+ (description
+ "This package provides a library for error-handling syntax in Rust.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-fehler-macros-1
(package
(name "rust-fehler-macros")