gnu: Add rust-smartstring-1.
* gnu/packages/crates-io.scm (rust-smartstring-1): New variable. (rust-smartstring-0.2): Inherit from rust-smartstring-1.
parent
1374b93a52
commit
c6e2637bc1
|
@ -54109,8 +54109,35 @@ stack.")
|
|||
control on the fields.")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public rust-smartstring-1
|
||||
(package
|
||||
(name "rust-smartstring")
|
||||
(version "1.0.1")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "smartstring" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"0agf4x0jz79r30aqibyfjm1h9hrjdh0harcqcvb2vapv7rijrdrz"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:skip-build? #t
|
||||
#:cargo-inputs
|
||||
(("rust-arbitrary" ,rust-arbitrary-1)
|
||||
("rust-autocfg" ,rust-autocfg-1)
|
||||
("rust-proptest" ,rust-proptest-1)
|
||||
("rust-serde" ,rust-serde-1)
|
||||
("rust-static-assertions" ,rust-static-assertions-1)
|
||||
("rust-version-check" ,rust-version-check-0.9))))
|
||||
(home-page "https://github.com/bodil/smartstring")
|
||||
(synopsis "Compact inlined strings")
|
||||
(description "This package provides compact inlined strings.")
|
||||
(license license:mpl2.0)))
|
||||
|
||||
(define-public rust-smartstring-0.2
|
||||
(package
|
||||
(inherit rust-smartstring-1)
|
||||
(name "rust-smartstring")
|
||||
(version "0.2.9")
|
||||
(source (origin
|
||||
|
@ -54120,18 +54147,13 @@ control on the fields.")
|
|||
(sha256
|
||||
(base32
|
||||
"16rc6n0p4r4aw6k6jxf2s37wyaijaa4pwpw7rqki7cn2q0qnmaii"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:skip-build? #t
|
||||
#:cargo-inputs
|
||||
(("rust-arbitrary" ,rust-arbitrary-0.4)
|
||||
("rust-proptest" ,rust-proptest-0.10)
|
||||
("rust-serde" ,rust-serde-1)
|
||||
("rust-static-assertions" ,rust-static-assertions-1))))
|
||||
(home-page "https://github.com/bodil/smartstring")
|
||||
(synopsis "Compact inlined strings")
|
||||
(description "This package provides compact inlined strings.")
|
||||
(license license:mpl2.0)))
|
||||
("rust-static-assertions" ,rust-static-assertions-1))))))
|
||||
|
||||
(define-public rust-smawk-0.3
|
||||
(package
|
||||
|
|
Reference in New Issue