mirror of
https://https.git.savannah.gnu.org/git/guix.git/
synced 2025-07-15 11:30:44 +02:00
gnu: Add rust-snake-case-0.3.
* gnu/packages/crates-io.scm (rust-snake-case-0.3): New variable. Change-Id: I05502052056564677310a73220a81e2a458c03e9 Signed-off-by: Danny Milosavljevic <dannym@friendly-machines.com>
This commit is contained in:
parent
4091eeb6d7
commit
85da4a23e6
1 changed files with 23 additions and 0 deletions
|
@ -75812,6 +75812,29 @@ package provides derive macros.")
|
||||||
("rust-quote" ,rust-quote-1)
|
("rust-quote" ,rust-quote-1)
|
||||||
("rust-syn" ,rust-syn-1))))))
|
("rust-syn" ,rust-syn-1))))))
|
||||||
|
|
||||||
|
(define-public rust-snake-case-0.3
|
||||||
|
(package
|
||||||
|
(name "rust-snake-case")
|
||||||
|
(version "0.3.1")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (crate-uri "snake_case" version))
|
||||||
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32 "1v4f132rk9wxiw8hb3kgnixirzr8kbfhg2lgsf4b85vbg02a0jfn"))
|
||||||
|
(modules '((guix build utils)))
|
||||||
|
(snippet #~(substitute* "Cargo.toml" (("readme =.*") "")))))
|
||||||
|
(build-system cargo-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:cargo-inputs (("rust-serde" ,rust-serde-1))))
|
||||||
|
(home-page "https://github.com/emilk/snake_case")
|
||||||
|
(synopsis "String-like type only containing non-empty snake_case")
|
||||||
|
(description
|
||||||
|
"This package provides @code{SnakeCase}, a String-like type that
|
||||||
|
can only contain valid non-empty snake_case.")
|
||||||
|
(license license:expat)))
|
||||||
|
|
||||||
(define-public rust-snap-1
|
(define-public rust-snap-1
|
||||||
(package
|
(package
|
||||||
(name "rust-snap")
|
(name "rust-snap")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue