gnu: Add rust-prost-0.12.
* gnu/packages/crates-io.scm (rust-prost-0.12): New variable. (rust-prost-0.11): Inherit from rust-prost-0.12. Change-Id: Ic186fee7eeca265047f713916e84ce0f72756765 Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
		
							parent
							
								
									99e82d12d3
								
							
						
					
					
						commit
						25da152ada
					
				
					 1 changed files with 27 additions and 6 deletions
				
			
		|  | @ -49523,23 +49523,23 @@ trait of proptest.") | ||||||
|         ("rust-criterion" ,rust-criterion-0.2) |         ("rust-criterion" ,rust-criterion-0.2) | ||||||
|         ("rust-proptest" ,rust-proptest-0.9)))))) |         ("rust-proptest" ,rust-proptest-0.9)))))) | ||||||
| 
 | 
 | ||||||
| (define-public rust-prost-0.11 | (define-public rust-prost-0.12 | ||||||
|   (package |   (package | ||||||
|     (name "rust-prost") |     (name "rust-prost") | ||||||
|     (version "0.11.9") |     (version "0.12.3") | ||||||
|     (source |     (source | ||||||
|      (origin |      (origin | ||||||
|        (method url-fetch) |        (method url-fetch) | ||||||
|        (uri (crate-uri "prost" version)) |        (uri (crate-uri "prost" version)) | ||||||
|        (file-name (string-append name "-" version ".tar.gz")) |        (file-name (string-append name "-" version ".tar.gz")) | ||||||
|        (sha256 |        (sha256 | ||||||
|         (base32 "1kc1hva2h894hc0zf6r4r8fsxfpazf7xn5rj3jya9sbrsyhym0hb")))) |         (base32 "0jmrhlb4jkiylz72xb14vlkfbmlq0jwv7j20ini9harhvaf2hv0l")))) | ||||||
|     (build-system cargo-build-system) |     (build-system cargo-build-system) | ||||||
|     (arguments |     (arguments | ||||||
|      `(#:cargo-inputs (("rust-bytes" ,rust-bytes-1) |      `(#:cargo-inputs (("rust-bytes" ,rust-bytes-1) | ||||||
|                        ("rust-prost-derive" ,rust-prost-derive-0.11)) |                        ("rust-prost-derive" ,rust-prost-derive-0.12)) | ||||||
|        #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.3) |        #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.4) | ||||||
|                                    ("rust-env-logger" ,rust-env-logger-0.8) |                                    ("rust-env-logger" ,rust-env-logger-0.10) | ||||||
|                                    ("rust-log" ,rust-log-0.4) |                                    ("rust-log" ,rust-log-0.4) | ||||||
|                                    ("rust-proptest" ,rust-proptest-1) |                                    ("rust-proptest" ,rust-proptest-1) | ||||||
|                                    ("rust-rand" ,rust-rand-0.8)))) |                                    ("rust-rand" ,rust-rand-0.8)))) | ||||||
|  | @ -49550,6 +49550,27 @@ trait of proptest.") | ||||||
| language.") | language.") | ||||||
|     (license license:asl2.0))) |     (license license:asl2.0))) | ||||||
| 
 | 
 | ||||||
|  | (define-public rust-prost-0.11 | ||||||
|  |   (package | ||||||
|  |     (inherit rust-prost-0.12) | ||||||
|  |     (name "rust-prost") | ||||||
|  |     (version "0.11.9") | ||||||
|  |     (source | ||||||
|  |      (origin | ||||||
|  |        (method url-fetch) | ||||||
|  |        (uri (crate-uri "prost" version)) | ||||||
|  |        (file-name (string-append name "-" version ".tar.gz")) | ||||||
|  |        (sha256 | ||||||
|  |         (base32 "1kc1hva2h894hc0zf6r4r8fsxfpazf7xn5rj3jya9sbrsyhym0hb")))) | ||||||
|  |     (arguments | ||||||
|  |      `(#:cargo-inputs (("rust-bytes" ,rust-bytes-1) | ||||||
|  |                        ("rust-prost-derive" ,rust-prost-derive-0.11)) | ||||||
|  |        #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.3) | ||||||
|  |                                    ("rust-env-logger" ,rust-env-logger-0.8) | ||||||
|  |                                    ("rust-log" ,rust-log-0.4) | ||||||
|  |                                    ("rust-proptest" ,rust-proptest-1) | ||||||
|  |                                    ("rust-rand" ,rust-rand-0.8)))))) | ||||||
|  | 
 | ||||||
| (define-public rust-prost-0.9 | (define-public rust-prost-0.9 | ||||||
|   (package |   (package | ||||||
|     (inherit rust-prost-0.11) |     (inherit rust-prost-0.11) | ||||||
|  |  | ||||||
		Reference in a new issue