gnu: Add rust-line-drawing-0.7.
* gnu/packages/crates-io.scm (rust-line-drawing-0.7): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
		
							parent
							
								
									d899e93052
								
							
						
					
					
						commit
						a36b06561f
					
				
					 1 changed files with 30 additions and 0 deletions
				
			
		| 
						 | 
					@ -8980,6 +8980,36 @@ known as zlib).")
 | 
				
			||||||
    (license (list license:asl2.0
 | 
					    (license (list license:asl2.0
 | 
				
			||||||
                   license:expat))))
 | 
					                   license:expat))))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					(define-public rust-line-drawing-0.7
 | 
				
			||||||
 | 
					  (package
 | 
				
			||||||
 | 
					    (name "rust-line-drawing")
 | 
				
			||||||
 | 
					    (version "0.7.0")
 | 
				
			||||||
 | 
					    (source
 | 
				
			||||||
 | 
					     (origin
 | 
				
			||||||
 | 
					       (method url-fetch)
 | 
				
			||||||
 | 
					       (uri (crate-uri "line_drawing" version))
 | 
				
			||||||
 | 
					       (file-name
 | 
				
			||||||
 | 
					        (string-append name "-" version ".tar.gz"))
 | 
				
			||||||
 | 
					       (sha256
 | 
				
			||||||
 | 
					        (base32
 | 
				
			||||||
 | 
					         "1fcna7hq1g1kkkqy07hydscx5d2zgb6gskz3vnsvsif8h8ysvisw"))))
 | 
				
			||||||
 | 
					    (build-system cargo-build-system)
 | 
				
			||||||
 | 
					    (arguments
 | 
				
			||||||
 | 
					     ;; This version does not specify any versions on dependants.
 | 
				
			||||||
 | 
					     `(#:tests? #f      ; Cannot compile line_drawing for the test suite.
 | 
				
			||||||
 | 
					       #:cargo-inputs
 | 
				
			||||||
 | 
					       (("rust-num-traits" ,rust-num-traits-0.2))
 | 
				
			||||||
 | 
					       #:cargo-development-inputs
 | 
				
			||||||
 | 
					       (("rust-bresenham" ,rust-bresenham-0.1)
 | 
				
			||||||
 | 
					        ("rust-image" ,rust-image-0.22) ; 0.17?
 | 
				
			||||||
 | 
					        ("rust-rand" ,rust-rand-0.6))))
 | 
				
			||||||
 | 
					    (home-page "https://github.com/expenses/line_drawing")
 | 
				
			||||||
 | 
					    (synopsis "Collection of line-drawing algorithms")
 | 
				
			||||||
 | 
					    (description
 | 
				
			||||||
 | 
					     "This package provides a collection of line-drawing algorithms for use in
 | 
				
			||||||
 | 
					graphics and video games.")
 | 
				
			||||||
 | 
					    (license license:expat)))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
(define-public rust-linked-hash-map-0.5
 | 
					(define-public rust-linked-hash-map-0.5
 | 
				
			||||||
  (package
 | 
					  (package
 | 
				
			||||||
    (name "rust-linked-hash-map")
 | 
					    (name "rust-linked-hash-map")
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue