diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2022-01-07 15:27:06 +0100 |
|---|---|---|
| committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2022-01-19 14:04:50 +0100 |
| commit | 29bd8ce17eeac3bcfa0c3a4e86d784c63135fffb (patch) | |
| tree | a5e4b37d1f67db8be230cc84675dd38a13d8672a /gnu | |
| parent | 753ba327c1df7ee2905ecf21ac78086233b7e447 (diff) | |
gnu: Add rust-region-3.
* gnu/packages/crates-io.scm (rust-region-3): New variable.
(rust-region-2): Inherit from above.
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/crates-io.scm | 34 |
1 files changed, 27 insertions, 7 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 39cc4351958..f706f7cf770 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm | |||
| @@ -44207,8 +44207,34 @@ uses finite automata and guarantees linear time matching on all inputs.") | |||
| 44207 | (("rust-quickcheck" ,rust-quickcheck-0.2) | 44207 | (("rust-quickcheck" ,rust-quickcheck-0.2) |
| 44208 | ("rust-rand" ,rust-rand-0.3)))))) | 44208 | ("rust-rand" ,rust-rand-0.3)))))) |
| 44209 | 44209 | ||
| 44210 | (define-public rust-region-3 | ||
| 44211 | (package | ||
| 44212 | (name "rust-region") | ||
| 44213 | (version "3.0.0") | ||
| 44214 | (source | ||
| 44215 | (origin | ||
| 44216 | (method url-fetch) | ||
| 44217 | (uri (crate-uri "region" version)) | ||
| 44218 | (file-name (string-append name "-" version ".tar.gz")) | ||
| 44219 | (sha256 | ||
| 44220 | (base32 "0bji1p0c9abzh78ps5hs0ygg9pxkg7gjspll43lxr14q6v18kqbn")))) | ||
| 44221 | (build-system cargo-build-system) | ||
| 44222 | (arguments | ||
| 44223 | `(#:skip-build? #t | ||
| 44224 | #:cargo-inputs | ||
| 44225 | (("rust-bitflags" ,rust-bitflags-1) | ||
| 44226 | ("rust-libc" ,rust-libc-0.2) | ||
| 44227 | ("rust-mach" ,rust-mach-0.3) | ||
| 44228 | ("rust-winapi" ,rust-winapi-0.3)))) | ||
| 44229 | (home-page "https://github.com/darfink/region-rs") | ||
| 44230 | (synopsis "Library for manipulating memory regions") | ||
| 44231 | (description | ||
| 44232 | "This package provides a library for manipulating memory regions.") | ||
| 44233 | (license license:expat))) | ||
| 44234 | |||
| 44210 | (define-public rust-region-2 | 44235 | (define-public rust-region-2 |
| 44211 | (package | 44236 | (package |
| 44237 | (inherit rust-region-3) | ||
| 44212 | (name "rust-region") | 44238 | (name "rust-region") |
| 44213 | (version "2.2.0") | 44239 | (version "2.2.0") |
| 44214 | (source | 44240 | (source |
| @@ -44219,7 +44245,6 @@ uses finite automata and guarantees linear time matching on all inputs.") | |||
| 44219 | (string-append name "-" version ".tar.gz")) | 44245 | (string-append name "-" version ".tar.gz")) |
| 44220 | (sha256 | 44246 | (sha256 |
| 44221 | (base32 "1q4szar3ms76552iygmhsvzhvvwkgz4l94qpx600vmyw5bm58zl7")))) | 44247 | (base32 "1q4szar3ms76552iygmhsvzhvvwkgz4l94qpx600vmyw5bm58zl7")))) |
| 44222 | (build-system cargo-build-system) | ||
| 44223 | (arguments | 44248 | (arguments |
| 44224 | `(#:cargo-inputs | 44249 | `(#:cargo-inputs |
| 44225 | (("rust-bitflags" ,rust-bitflags-1) | 44250 | (("rust-bitflags" ,rust-bitflags-1) |
| @@ -44227,12 +44252,7 @@ uses finite automata and guarantees linear time matching on all inputs.") | |||
| 44227 | ("rust-mach" ,rust-mach-0.3) | 44252 | ("rust-mach" ,rust-mach-0.3) |
| 44228 | ("rust-winapi" ,rust-winapi-0.3)) | 44253 | ("rust-winapi" ,rust-winapi-0.3)) |
| 44229 | #:cargo-development-inputs | 44254 | #:cargo-development-inputs |
| 44230 | (("rust-memmap" ,rust-memmap-0.7)))) | 44255 | (("rust-memmap" ,rust-memmap-0.7)))))) |
| 44231 | (home-page "https://github.com/darfink/region-rs") | ||
| 44232 | (synopsis "Library for manipulating memory regions") | ||
| 44233 | (description | ||
| 44234 | "This package provides a library for manipulating memory regions.") | ||
| 44235 | (license license:expat))) | ||
| 44236 | 44256 | ||
| 44237 | (define-public rust-relative-path-1 | 44257 | (define-public rust-relative-path-1 |
| 44238 | (package | 44258 | (package |
