mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-18 21:46:35 +01:00
gnu: Add rust-duplicate-1.
* gnu/packages/crates-io.scm (rust-duplicate-1): New variable. Change-Id: Icb4274ee1d015359d9fba1763c01643330c88913
This commit is contained in:
parent
a9822d2374
commit
c48654325e
1 changed files with 37 additions and 0 deletions
|
@ -21761,6 +21761,43 @@ (define-public rust-duct-0.13
|
|||
(description "A library for running child processes.")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public rust-duplicate-1
|
||||
(package
|
||||
(name "rust-duplicate")
|
||||
(version "1.0.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "duplicate" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "1jrh28a3g9xw0w9v21y92d4k08lgr1ffg8mjhw2h67h6r5mfcy6y"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:cargo-test-flags
|
||||
'("--"
|
||||
"--skip=errors::basic_expansion_errors"
|
||||
"--skip=errors::highlight_expansion_errors"
|
||||
"--skip=errors::hint_expansion_errors"
|
||||
"--skip=module_disambiguation::test_expansions"
|
||||
"--skip=no_features::test_edition_2021"
|
||||
"--skip=no_features::test_expansions")
|
||||
#:cargo-inputs (("rust-heck" ,rust-heck-0.4)
|
||||
("rust-proc-macro-error" ,rust-proc-macro-error-1))
|
||||
#:cargo-development-inputs
|
||||
(("rust-doc-comment" ,rust-doc-comment-0.3)
|
||||
("rust-duplicate-macrotest" ,rust-duplicate-macrotest-1)
|
||||
("rust-regex" ,rust-regex-1)
|
||||
("rust-rustversion" ,rust-rustversion-1)
|
||||
("rust-serde" ,rust-serde-1))))
|
||||
(home-page "https://github.com/Emoun/duplicate")
|
||||
(synopsis
|
||||
"Provides macros for duplication of code with variable substitution")
|
||||
(description
|
||||
"This package provides macros for duplication of code with variable
|
||||
substitution.")
|
||||
(license (list license:expat license:asl2.0))))
|
||||
|
||||
(define-public rust-duplicate-macrotest-1
|
||||
(package
|
||||
(name "rust-duplicate-macrotest")
|
||||
|
|
Loading…
Reference in a new issue