gnu: Add rust-sourcefile.
* gnu/packages/crates-io.scm (rust-sourcefile): New variable.
This commit is contained in:
		
							parent
							
								
									61322df019
								
							
						
					
					
						commit
						01519b3d9f
					
				
					 1 changed files with 24 additions and 0 deletions
				
			
		| 
						 | 
					@ -2654,6 +2654,30 @@ maximal amount of configuration possible intended.")
 | 
				
			||||||
    (license (list license:asl2.0
 | 
					    (license (list license:asl2.0
 | 
				
			||||||
                   license:expat))))
 | 
					                   license:expat))))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					(define-public rust-sourcefile
 | 
				
			||||||
 | 
					  (package
 | 
				
			||||||
 | 
					    (name "rust-sourcefile")
 | 
				
			||||||
 | 
					    (version "0.1.4")
 | 
				
			||||||
 | 
					    (source
 | 
				
			||||||
 | 
					      (origin
 | 
				
			||||||
 | 
					        (method url-fetch)
 | 
				
			||||||
 | 
					        (uri (crate-uri "sourcefile" version))
 | 
				
			||||||
 | 
					        (file-name (string-append name "-" version ".tar.gz"))
 | 
				
			||||||
 | 
					        (sha256
 | 
				
			||||||
 | 
					         (base32
 | 
				
			||||||
 | 
					          "1lwa6973zs4bgj29my7agfjgk4nw9hp6j7dfnr13nid85fw7rxsb"))))
 | 
				
			||||||
 | 
					    (build-system cargo-build-system)
 | 
				
			||||||
 | 
					    (arguments
 | 
				
			||||||
 | 
					     `(#:cargo-development-inputs
 | 
				
			||||||
 | 
					       (("rust-tempfile" ,rust-tempfile))))
 | 
				
			||||||
 | 
					    (home-page "https://github.com/derekdreery/sourcefile-rs")
 | 
				
			||||||
 | 
					    (synopsis "Concatenate source from multiple files")
 | 
				
			||||||
 | 
					    (description
 | 
				
			||||||
 | 
					     "A library for concatenating source from multiple files, whilst keeping
 | 
				
			||||||
 | 
					track of where each new file and line starts.")
 | 
				
			||||||
 | 
					    (license (list license:asl2.0
 | 
				
			||||||
 | 
					                   license:expat))))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
(define-public rust-spin
 | 
					(define-public rust-spin
 | 
				
			||||||
  (package
 | 
					  (package
 | 
				
			||||||
    (name "rust-spin")
 | 
					    (name "rust-spin")
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue