gnu: rust-zerocopy-derive-0.7: Accept newer versions of dependencies.
* gnu/packages/crates-io.scm (rust-zerocopy-derive-0.7)[source]: Add snippet to allow newer versions of dependencies. Change-Id: I09636c7d0906af68622ae672896c76a8c08b65c5
This commit is contained in:
		
							parent
							
								
									c3635ac385
								
							
						
					
					
						commit
						7c52d70ba9
					
				
					 1 changed files with 6 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -80144,7 +80144,12 @@ for locating fonts.")
 | 
			
		|||
       (uri (crate-uri "zerocopy-derive" version))
 | 
			
		||||
       (file-name (string-append name "-" version ".tar.gz"))
 | 
			
		||||
       (sha256
 | 
			
		||||
        (base32 "19nj11md42aijyqnfx8pa647fjzhz537xyc624rajwwfrn6b3qcw"))))
 | 
			
		||||
        (base32 "19nj11md42aijyqnfx8pa647fjzhz537xyc624rajwwfrn6b3qcw"))
 | 
			
		||||
       (modules '((guix build utils)))
 | 
			
		||||
       (snippet
 | 
			
		||||
        '(begin (substitute* "Cargo.toml"
 | 
			
		||||
                  (("\"= ?([[:digit:]]+(\\.[[:digit:]]+)*)" _ version)
 | 
			
		||||
                   (string-append "\"^" version)))))))
 | 
			
		||||
    (build-system cargo-build-system)
 | 
			
		||||
    (arguments
 | 
			
		||||
     `(#:tests? #f  ; unresolved import `zerocopy`
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Reference in a new issue