diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2022-10-24 16:08:55 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2022-10-24 17:40:47 +0300 |
commit | c6e2637bc1688289a506eff01a7eef64680420e4 (patch) | |
tree | 4c8a0f839cfbc0c2f6d94c7c413880d184964e27 /gnu | |
parent | 1374b93a5299abc208f99561ed09a63acfe75ca7 (diff) |
gnu: Add rust-smartstring-1.
* gnu/packages/crates-io.scm (rust-smartstring-1): New variable.
(rust-smartstring-0.2): Inherit from rust-smartstring-1.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/crates-io.scm | 34 |
1 files changed, 28 insertions, 6 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 93b64bb83f..d39011cf8e 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -54109,30 +54109,52 @@ stack.") control on the fields.") (license license:expat))) -(define-public rust-smartstring-0.2 +(define-public rust-smartstring-1 (package (name "rust-smartstring") - (version "0.2.9") + (version "1.0.1") (source (origin (method url-fetch) (uri (crate-uri "smartstring" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "16rc6n0p4r4aw6k6jxf2s37wyaijaa4pwpw7rqki7cn2q0qnmaii")))) + "0agf4x0jz79r30aqibyfjm1h9hrjdh0harcqcvb2vapv7rijrdrz")))) (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs - (("rust-arbitrary" ,rust-arbitrary-0.4) - ("rust-proptest" ,rust-proptest-0.10) + (("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-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 + (method url-fetch) + (uri (crate-uri "smartstring" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "16rc6n0p4r4aw6k6jxf2s37wyaijaa4pwpw7rqki7cn2q0qnmaii")))) + (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)))))) + (define-public rust-smawk-0.3 (package (name "rust-smawk") |