gnu: Add rust-malloc-buf-0.
* gnu/packages/crates-io.scm (rust-malloc-buf-0): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
		
							parent
							
								
									897a409af2
								
							
						
					
					
						commit
						cf20f8a582
					
				
					 1 changed files with 22 additions and 0 deletions
				
			
		| 
						 | 
					@ -6750,6 +6750,28 @@ implementation of LZMA and xz stream encoding/decoding.")
 | 
				
			||||||
platform-independently.")
 | 
					platform-independently.")
 | 
				
			||||||
    (license license:expat)))
 | 
					    (license license:expat)))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					(define-public rust-malloc-buf-0.0
 | 
				
			||||||
 | 
					 (package
 | 
				
			||||||
 | 
					   (name "rust-malloc-buf")
 | 
				
			||||||
 | 
					   (version "0.0.6")
 | 
				
			||||||
 | 
					   (source
 | 
				
			||||||
 | 
					    (origin
 | 
				
			||||||
 | 
					      (method url-fetch)
 | 
				
			||||||
 | 
					      (uri (crate-uri "malloc-buf" version))
 | 
				
			||||||
 | 
					      (file-name
 | 
				
			||||||
 | 
					       (string-append name "-" version ".tar.gz"))
 | 
				
			||||||
 | 
					      (sha256
 | 
				
			||||||
 | 
					       (base32
 | 
				
			||||||
 | 
					        "1jqr77j89pwszv51fmnknzvd53i1nkmcr8rjrvcxhm4dx1zr1fv2"))))
 | 
				
			||||||
 | 
					   (build-system cargo-build-system)
 | 
				
			||||||
 | 
					   (arguments
 | 
				
			||||||
 | 
					    `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2))))
 | 
				
			||||||
 | 
					   (home-page "https://github.com/SSheldon/malloc_buf")
 | 
				
			||||||
 | 
					   (synopsis "Structs for handling malloc'd memory passed to Rust")
 | 
				
			||||||
 | 
					   (description
 | 
				
			||||||
 | 
					    "This package provides structs for handling malloc'd memory passed to Rust.")
 | 
				
			||||||
 | 
					   (license license:expat)))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
(define-public rust-maplit-1.0
 | 
					(define-public rust-maplit-1.0
 | 
				
			||||||
  (package
 | 
					  (package
 | 
				
			||||||
    (name "rust-maplit")
 | 
					    (name "rust-maplit")
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue