mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-07 03:44:06 -05:00
gnu: Add rust-defer-0.1.
* gnu/packages/crates-io.scm (rust-defer-0.1): New variable. Change-Id: Iace1652c9329308a11ebb8180e48d83894b6bc2a
This commit is contained in:
parent
dd8e4e826c
commit
e16187436f
1 changed files with 18 additions and 0 deletions
|
@ -20138,6 +20138,24 @@ (define-public rust-decimal-2
|
||||||
"Decimal floating point arithmetic for Rust.")
|
"Decimal floating point arithmetic for Rust.")
|
||||||
(license license:asl2.0)))
|
(license license:asl2.0)))
|
||||||
|
|
||||||
|
(define-public rust-defer-0.1
|
||||||
|
(package
|
||||||
|
(name "rust-defer")
|
||||||
|
(version "0.1.0")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (crate-uri "defer" version))
|
||||||
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32 "1pmcz4av2wvw8zrccmac86dsyy34qlwacdhajp1qjpjx6jk0axk4"))))
|
||||||
|
(build-system cargo-build-system)
|
||||||
|
(home-page "https://github.com/andrewhickman/defer/")
|
||||||
|
(synopsis "Utility to defer excecution of code")
|
||||||
|
(description
|
||||||
|
"Utility to defer excecution of code, inspired by go's defer statement.")
|
||||||
|
(license (list license:expat license:asl2.0))))
|
||||||
|
|
||||||
(define-public rust-defer-drop-1
|
(define-public rust-defer-drop-1
|
||||||
(package
|
(package
|
||||||
(name "rust-defer-drop")
|
(name "rust-defer-drop")
|
||||||
|
|
Loading…
Reference in a new issue