gnu: Add rust-const-panic-0.2.
* gnu/packages/crates-io.scm (rust-const-panic-0.2): New variable. Change-Id: I50532ed60c636ac128a3b54bdf2bcea40985e483
This commit is contained in:
		
							parent
							
								
									906ec982b8
								
							
						
					
					
						commit
						604134bbf7
					
				
					 1 changed files with 25 additions and 0 deletions
				
			
		|  | @ -12938,6 +12938,31 @@ literals.") | ||||||
|     (description "Implementation detail of the @code{const_format} crate.") |     (description "Implementation detail of the @code{const_format} crate.") | ||||||
|     (license license:zlib))) |     (license license:zlib))) | ||||||
| 
 | 
 | ||||||
|  | (define-public rust-const-panic-0.2 | ||||||
|  |   (package | ||||||
|  |     (name "rust-const-panic") | ||||||
|  |     (version "0.2.8") | ||||||
|  |     (source | ||||||
|  |      (origin | ||||||
|  |        (method url-fetch) | ||||||
|  |        (uri (crate-uri "const_panic" version)) | ||||||
|  |        (file-name (string-append name "-" version ".tar.gz")) | ||||||
|  |        (sha256 | ||||||
|  |         (base32 "16w72mnzjqgwfhlq8cqm6xhd2n6lc1wan08987izv1pcxhwz4lb0")))) | ||||||
|  |     (build-system cargo-build-system) | ||||||
|  |     (arguments | ||||||
|  |      `(#:cargo-test-flags | ||||||
|  |        '("--release" "--features=test") | ||||||
|  |        #:cargo-inputs | ||||||
|  |        (("rust-const-panic-proc-macros" ,rust-const-panic-proc-macros-0.2) | ||||||
|  |         ("rust-typewit" ,rust-typewit-1)) | ||||||
|  |        #:cargo-development-inputs (("rust-arrayvec" ,rust-arrayvec-0.7) | ||||||
|  |                                    ("rust-rand" ,rust-rand-0.8)))) | ||||||
|  |     (home-page "https://github.com/rodrimati1992/const_panic/") | ||||||
|  |     (synopsis "Const panic with formatting") | ||||||
|  |     (description "This package provides const panic with formatting.") | ||||||
|  |     (license license:zlib))) | ||||||
|  | 
 | ||||||
| (define-public rust-const-panic-proc-macros-0.2 | (define-public rust-const-panic-proc-macros-0.2 | ||||||
|   (package |   (package | ||||||
|     (name "rust-const-panic-proc-macros") |     (name "rust-const-panic-proc-macros") | ||||||
|  |  | ||||||
		Reference in a new issue