gnu: Add rust-bit-vec-0.6.
* gnu/packages/crates-io.scm (rust-bit-vec-0.6): New variable. (rust-bit-vec-0.5): Inherit from rust-bit-vec-0.6. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
		
							parent
							
								
									90880980a7
								
							
						
					
					
						commit
						c5c83bd712
					
				
					 1 changed files with 29 additions and 7 deletions
				
			
		|  | @ -4985,8 +4985,36 @@ types.") | ||||||
|        #:cargo-development-inputs |        #:cargo-development-inputs | ||||||
|        (("rust-rand" ,rust-rand-0.3)))))) |        (("rust-rand" ,rust-rand-0.3)))))) | ||||||
| 
 | 
 | ||||||
|  | (define-public rust-bit-vec-0.6 | ||||||
|  |   (package | ||||||
|  |     (name "rust-bit-vec") | ||||||
|  |     (version "0.6.3") | ||||||
|  |     (source | ||||||
|  |       (origin | ||||||
|  |         (method url-fetch) | ||||||
|  |         (uri (crate-uri "bit-vec" version)) | ||||||
|  |         (file-name | ||||||
|  |          (string-append name "-" version ".tar.gz")) | ||||||
|  |         (sha256 | ||||||
|  |          (base32 | ||||||
|  |           "1ywqjnv60cdh1slhz67psnp422md6jdliji6alq0gmly2xm9p7rl")))) | ||||||
|  |     (build-system cargo-build-system) | ||||||
|  |     (arguments | ||||||
|  |      `(#:cargo-inputs | ||||||
|  |        (("rust-serde" ,rust-serde-1)) | ||||||
|  |        #:cargo-development-inputs | ||||||
|  |        (("rust-rand" ,rust-rand-0.7) | ||||||
|  |         ("rust-rand-xorshift" ,rust-rand-xorshift-0.2) | ||||||
|  |         ("rust-serde-json" ,rust-serde-json-1)))) | ||||||
|  |     (home-page "https://github.com/contain-rs/bit-vec") | ||||||
|  |     (synopsis "Vector of bits") | ||||||
|  |     (description | ||||||
|  |      "This package provides a vector of bits.") | ||||||
|  |     (license (list license:expat license:asl2.0)))) | ||||||
|  | 
 | ||||||
| (define-public rust-bit-vec-0.5 | (define-public rust-bit-vec-0.5 | ||||||
|   (package |   (package | ||||||
|  |     (inherit rust-bit-vec-0.6) | ||||||
|     (name "rust-bit-vec") |     (name "rust-bit-vec") | ||||||
|     (version "0.5.1") |     (version "0.5.1") | ||||||
|     (source |     (source | ||||||
|  | @ -4998,18 +5026,12 @@ types.") | ||||||
|        (sha256 |        (sha256 | ||||||
|         (base32 |         (base32 | ||||||
|          "1fyh8221s6cxlmng01v8v2ljhavzawqqs8r1xjc66ap5sjavx6zm")))) |          "1fyh8221s6cxlmng01v8v2ljhavzawqqs8r1xjc66ap5sjavx6zm")))) | ||||||
|     (build-system cargo-build-system) |  | ||||||
|     (arguments |     (arguments | ||||||
|      `(#:skip-build? #t |      `(#:skip-build? #t | ||||||
|        #:cargo-inputs |        #:cargo-inputs | ||||||
|        (("rust-serde" ,rust-serde-1)) |        (("rust-serde" ,rust-serde-1)) | ||||||
|        #:cargo-development-inputs |        #:cargo-development-inputs | ||||||
|        (("rust-serde-json" ,rust-serde-json-1)))) |        (("rust-serde-json" ,rust-serde-json-1)))))) | ||||||
|     (home-page "https://github.com/contain-rs/bit-vec") |  | ||||||
|     (synopsis "Vector of bits") |  | ||||||
|     (description |  | ||||||
|      "This package provides a vector of bits.") |  | ||||||
|     (license (list license:expat license:asl2.0)))) |  | ||||||
| 
 | 
 | ||||||
| (define-public rust-bit-vec-0.4 | (define-public rust-bit-vec-0.4 | ||||||
|   (package |   (package | ||||||
|  |  | ||||||
		Reference in a new issue