mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-28 07:12:30 -05:00
gnu: Add rust-failure-0.1.
* gnu/packages/crates-io.scm (rust-failure-0.1): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
parent
688ac26a85
commit
4eea286c28
1 changed files with 25 additions and 0 deletions
|
@ -1933,6 +1933,31 @@ (define-public rust-erased-serde-0.3
|
|||
"Type-erased Serialize and Serializer traits.")
|
||||
(license (list license:asl2.0 license:expat))))
|
||||
|
||||
(define-public rust-failure-0.1
|
||||
(package
|
||||
(name "rust-failure")
|
||||
(version "0.1.5")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "failure" version))
|
||||
(file-name
|
||||
(string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"1qppmgv4i5jj6vrss91qackqnl0a12h7lnby4l7j5fdy78yxhnvr"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:skip-build? #t
|
||||
#:cargo-inputs
|
||||
(("rust-backtrace" ,rust-backtrace-0.3)
|
||||
("rust-failure-derive" ,rust-failure-derive-0.1))))
|
||||
(home-page "https://rust-lang-nursery.github.io/failure/")
|
||||
(synopsis "Experimental error handling abstraction")
|
||||
(description
|
||||
"Experimental error handling abstraction.")
|
||||
(license (list license:asl2.0 license:expat))))
|
||||
|
||||
(define-public rust-failure-derive-0.1
|
||||
(package
|
||||
(name "rust-failure-derive")
|
||||
|
|
Loading…
Reference in a new issue