gnu: Add rust-serial-test-3.
* gnu/packages/crates-io.scm (rust-serial-test-3): New variable. (rust-serial-test-2): Inherit from rust-serial-test-3. Change-Id: I0fde60ed6097c8f3bb11b89a16138a10af20ea2d Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
		
							parent
							
								
									def34bfe1d
								
							
						
					
					
						commit
						81c61cfdae
					
				
					 1 changed files with 31 additions and 7 deletions
				
			
		| 
						 | 
					@ -62217,8 +62217,38 @@ Rust's serde.")
 | 
				
			||||||
    (description "Native Serde adapter for wasm-bindgen.")
 | 
					    (description "Native Serde adapter for wasm-bindgen.")
 | 
				
			||||||
    (license license:expat)))
 | 
					    (license license:expat)))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					(define-public rust-serial-test-3
 | 
				
			||||||
 | 
					  (package
 | 
				
			||||||
 | 
					    (name "rust-serial-test")
 | 
				
			||||||
 | 
					    (version "3.0.0")
 | 
				
			||||||
 | 
					    (source
 | 
				
			||||||
 | 
					     (origin
 | 
				
			||||||
 | 
					       (method url-fetch)
 | 
				
			||||||
 | 
					       (uri (crate-uri "serial_test" version))
 | 
				
			||||||
 | 
					       (file-name (string-append name "-" version ".tar.gz"))
 | 
				
			||||||
 | 
					       (sha256
 | 
				
			||||||
 | 
					        (base32 "1381b9z83a0a39sx0jrrf1q91m08s1yhjp648g5sgb1s5csdjflm"))))
 | 
				
			||||||
 | 
					    (build-system cargo-build-system)
 | 
				
			||||||
 | 
					    (arguments
 | 
				
			||||||
 | 
					     `(#:cargo-inputs (("rust-dashmap" ,rust-dashmap-5)
 | 
				
			||||||
 | 
					                       ("rust-document-features" ,rust-document-features-0.2)
 | 
				
			||||||
 | 
					                       ("rust-fslock" ,rust-fslock-0.2)
 | 
				
			||||||
 | 
					                       ("rust-futures" ,rust-futures-0.3)
 | 
				
			||||||
 | 
					                       ("rust-lazy-static" ,rust-lazy-static-1)
 | 
				
			||||||
 | 
					                       ("rust-log" ,rust-log-0.4)
 | 
				
			||||||
 | 
					                       ("rust-parking-lot" ,rust-parking-lot-0.12)
 | 
				
			||||||
 | 
					                       ("rust-serial-test-derive" ,rust-serial-test-derive-3))
 | 
				
			||||||
 | 
					       #:cargo-development-inputs (("rust-itertools" ,rust-itertools-0.10)
 | 
				
			||||||
 | 
					                                   ("rust-tokio" ,rust-tokio-1))))
 | 
				
			||||||
 | 
					    (home-page "https://github.com/palfrey/serial_test")
 | 
				
			||||||
 | 
					    (synopsis "Allows for the creation of serialised Rust tests")
 | 
				
			||||||
 | 
					    (description
 | 
				
			||||||
 | 
					     "This package allows for the creation of serialised Rust tests.")
 | 
				
			||||||
 | 
					    (license license:expat)))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
(define-public rust-serial-test-2
 | 
					(define-public rust-serial-test-2
 | 
				
			||||||
  (package
 | 
					  (package
 | 
				
			||||||
 | 
					    (inherit rust-serial-test-3)
 | 
				
			||||||
    (name "rust-serial-test")
 | 
					    (name "rust-serial-test")
 | 
				
			||||||
    (version "2.0.0")
 | 
					    (version "2.0.0")
 | 
				
			||||||
    (source
 | 
					    (source
 | 
				
			||||||
| 
						 | 
					@ -62228,7 +62258,6 @@ Rust's serde.")
 | 
				
			||||||
       (file-name (string-append name "-" version ".tar.gz"))
 | 
					       (file-name (string-append name "-" version ".tar.gz"))
 | 
				
			||||||
       (sha256
 | 
					       (sha256
 | 
				
			||||||
        (base32 "0b9v0csv9wxl1gcjq99plwimxbmhgr6kzbwqyb457qh3d22xsmhf"))))
 | 
					        (base32 "0b9v0csv9wxl1gcjq99plwimxbmhgr6kzbwqyb457qh3d22xsmhf"))))
 | 
				
			||||||
    (build-system cargo-build-system)
 | 
					 | 
				
			||||||
    (arguments
 | 
					    (arguments
 | 
				
			||||||
     `(#:cargo-inputs
 | 
					     `(#:cargo-inputs
 | 
				
			||||||
       (("rust-dashmap" ,rust-dashmap-5)
 | 
					       (("rust-dashmap" ,rust-dashmap-5)
 | 
				
			||||||
| 
						 | 
					@ -62241,12 +62270,7 @@ Rust's serde.")
 | 
				
			||||||
        ("rust-serial-test-derive" ,rust-serial-test-derive-2))
 | 
					        ("rust-serial-test-derive" ,rust-serial-test-derive-2))
 | 
				
			||||||
       #:cargo-development-inputs
 | 
					       #:cargo-development-inputs
 | 
				
			||||||
       (("rust-itertools" ,rust-itertools-0.10)
 | 
					       (("rust-itertools" ,rust-itertools-0.10)
 | 
				
			||||||
        ("rust-tokio" ,rust-tokio-1))))
 | 
					        ("rust-tokio" ,rust-tokio-1))))))
 | 
				
			||||||
    (home-page "https://github.com/palfrey/serial_test")
 | 
					 | 
				
			||||||
    (synopsis "Allows for the creation of serialised Rust tests")
 | 
					 | 
				
			||||||
    (description
 | 
					 | 
				
			||||||
     "This package allows for the creation of serialised Rust tests.")
 | 
					 | 
				
			||||||
    (license license:expat)))
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
(define-public rust-serial-test-1
 | 
					(define-public rust-serial-test-1
 | 
				
			||||||
  (package
 | 
					  (package
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue