mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-19 05:57:04 +01:00
gnu: Add rust-arr-macro-0.1.
* gnu/packages/crates-io.scm (rust-arr-macro-0.1): New variable.
This commit is contained in:
parent
ab3082218e
commit
01cb13f164
1 changed files with 23 additions and 0 deletions
|
@ -3381,6 +3381,29 @@ (define-public rust-arr-macro-impl-0.1
|
|||
@code{arr_macro}.")
|
||||
(license (list license:expat license:asl2.0))))
|
||||
|
||||
(define-public rust-arr-macro-0.1
|
||||
(package
|
||||
(name "rust-arr-macro")
|
||||
(version "0.1.3")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "arr_macro" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"199086q8zva66lbg9bpz6fa67s81ra7yfa8148cwy1w7lkymn43a"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:cargo-inputs
|
||||
(("rust-arr-macro-impl" ,rust-arr-macro-impl-0.1)
|
||||
("rust-proc-macro-hack" ,rust-proc-macro-hack-0.5))))
|
||||
(home-page "https://github.com/JoshMcguigan/arr_macro")
|
||||
(synopsis "Initialize arrays with ease")
|
||||
(description "Array macro helps initialize arrays. It is useful when
|
||||
initializing large arrays (greater than 32 elements), or arrays of types which
|
||||
do not implement the copy or default traits.")
|
||||
(license (list license:expat license:asl2.0))))
|
||||
|
||||
(define-public rust-array-macro-1
|
||||
(package
|
||||
(name "rust-array-macro")
|
||||
|
|
Loading…
Reference in a new issue