mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-15 11:25:22 -05:00
gnu: Add rust-proc-macro-crate-1.
* gnu/packages/crates-io.scm (rust-proc-macro-crate-1): New variable. (rust-proc-macro-crate-0.1): Inherit from above. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
This commit is contained in:
parent
1f7b8d9438
commit
367015e3a7
1 changed files with 30 additions and 9 deletions
|
@ -35438,8 +35438,36 @@ (define-public rust-prettytable-rs-0.8
|
||||||
formatted tables in terminal.")
|
formatted tables in terminal.")
|
||||||
(license license:bsd-3)))
|
(license license:bsd-3)))
|
||||||
|
|
||||||
|
(define-public rust-proc-macro-crate-1
|
||||||
|
(package
|
||||||
|
(name "rust-proc-macro-crate")
|
||||||
|
(version "1.0.0")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (crate-uri "proc-macro-crate" version))
|
||||||
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32 "14pzgkpnlzq6y7yc749h2lwd1mv44min4iszjk2znmi1yqfvvza1"))))
|
||||||
|
(build-system cargo-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:cargo-inputs
|
||||||
|
(("rust-thiserror" ,rust-thiserror-1)
|
||||||
|
("rust-toml" ,rust-toml-0.5))
|
||||||
|
#:cargo-development-inputs
|
||||||
|
(("rust-proc-macro2" ,rust-proc-macro2-1)
|
||||||
|
("rust-quote" ,rust-quote-1)
|
||||||
|
("rust-syn" ,rust-syn-1))))
|
||||||
|
(home-page "https://github.com/bkchr/proc-macro-crate")
|
||||||
|
(synopsis "Support for @code{$crate} in procedural macros")
|
||||||
|
(description
|
||||||
|
"This crate provides a way to get the name of a crate, even if it
|
||||||
|
renamed in @file{Cargo.toml}.")
|
||||||
|
(license (list license:asl2.0 license:expat))))
|
||||||
|
|
||||||
(define-public rust-proc-macro-crate-0.1
|
(define-public rust-proc-macro-crate-0.1
|
||||||
(package
|
(package
|
||||||
|
(inherit rust-proc-macro-crate-1)
|
||||||
(name "rust-proc-macro-crate")
|
(name "rust-proc-macro-crate")
|
||||||
(version "0.1.5")
|
(version "0.1.5")
|
||||||
(source
|
(source
|
||||||
|
@ -35449,16 +35477,9 @@ (define-public rust-proc-macro-crate-0.1
|
||||||
(file-name (string-append name "-" version ".tar.gz"))
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "11cpihdk9ba68hzw95aa8zxn0i5g6kdrfd4l2cy3d5jvb72a6vhx"))))
|
(base32 "11cpihdk9ba68hzw95aa8zxn0i5g6kdrfd4l2cy3d5jvb72a6vhx"))))
|
||||||
(build-system cargo-build-system)
|
|
||||||
(arguments
|
(arguments
|
||||||
`(#:cargo-inputs
|
`(#:cargo-inputs
|
||||||
(("rust-toml" ,rust-toml-0.5))))
|
(("rust-toml" ,rust-toml-0.5))))))
|
||||||
(home-page "https://github.com/bkchr/proc-macro-crate")
|
|
||||||
(synopsis "Support for @code{$crate} in procedural macros")
|
|
||||||
(description
|
|
||||||
"This crate provides a way to get the name of a crate, even if it
|
|
||||||
renamed in @file{Cargo.toml}.")
|
|
||||||
(license (list license:asl2.0 license:expat))))
|
|
||||||
|
|
||||||
(define-public rust-proc-macro-error-1
|
(define-public rust-proc-macro-error-1
|
||||||
(package
|
(package
|
||||||
|
@ -58450,7 +58471,7 @@ (define-public rust-packed-struct
|
||||||
(home-page "http://www.hashmismatch.net/libraries/packed-struct/")
|
(home-page "http://www.hashmismatch.net/libraries/packed-struct/")
|
||||||
(synopsis "Binary-level structure packing and unpacking generator")
|
(synopsis "Binary-level structure packing and unpacking generator")
|
||||||
(description "This package provides bit-level packing an unpacking
|
(description "This package provides bit-level packing an unpacking
|
||||||
of structs. The library provides a meta-programming approach, using
|
of structs. Tkhe library provides a meta-programming approach, using
|
||||||
attributes to define fields and how they should be packed. The resulting
|
attributes to define fields and how they should be packed. The resulting
|
||||||
trait implementations provide safe packing, unpacking and runtime debugging
|
trait implementations provide safe packing, unpacking and runtime debugging
|
||||||
formatters with per-field documentation generated for each structure.
|
formatters with per-field documentation generated for each structure.
|
||||||
|
|
Loading…
Reference in a new issue