mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 06:18:07 -05:00
gnu: Add rust-static-assertions-1.
* gnu/packages/crates-io.scm (rust-static-assertions-1): New variable. (rust-static-assertions-0.3): Inherit from rust-static-assertions-1.
This commit is contained in:
parent
76a841cc8b
commit
6675cd8c24
1 changed files with 22 additions and 8 deletions
|
@ -21861,8 +21861,29 @@ (define-public rust-stackvector-1.0
|
|||
"StackVec: vector-like facade for stack-allocated arrays.")
|
||||
(license (list license:asl2.0 license:expat))))
|
||||
|
||||
(define-public rust-static-assertions-1
|
||||
(package
|
||||
(name "rust-static-assertions")
|
||||
(version "1.1.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "static-assertions" version))
|
||||
(file-name (string-append name "-" version ".crate"))
|
||||
(sha256
|
||||
(base32
|
||||
"0gsl6xmw10gvn3zs1rv99laj5ig7ylffnh71f9l34js4nr4r7sx2"))))
|
||||
(build-system cargo-build-system)
|
||||
(home-page "https://github.com/nvzqz/static-assertions-rs")
|
||||
(synopsis "Compile-time assertions for rust")
|
||||
(description
|
||||
"This package provides compile-time assertions to ensure that invariants
|
||||
are met.")
|
||||
(license (list license:expat license:asl2.0))))
|
||||
|
||||
(define-public rust-static-assertions-0.3
|
||||
(package
|
||||
(inherit rust-static-assertions-1)
|
||||
(name "rust-static-assertions")
|
||||
(version "0.3.4")
|
||||
(source
|
||||
|
@ -21872,14 +21893,7 @@ (define-public rust-static-assertions-0.3
|
|||
(file-name (string-append name "-" version ".crate"))
|
||||
(sha256
|
||||
(base32
|
||||
"1lw33i89888yb3x29c6dv4mrkg3534n0rlg3r7qzh4p58xmv6gkz"))))
|
||||
(build-system cargo-build-system)
|
||||
(home-page "https://github.com/nvzqz/static-assertions-rs")
|
||||
(synopsis "Compile-time assertions for rust")
|
||||
(description
|
||||
"This package provides compile-time assertions to ensure that invariants
|
||||
are met.")
|
||||
(license (list license:expat license:asl2.0))))
|
||||
"1lw33i89888yb3x29c6dv4mrkg3534n0rlg3r7qzh4p58xmv6gkz"))))))
|
||||
|
||||
(define-public rust-stb-truetype-0.3
|
||||
(package
|
||||
|
|
Loading…
Reference in a new issue