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:
Valentin Ignatev 2020-01-26 01:30:49 +03:00 committed by Efraim Flashner
parent d899e93052
commit a36b06561f
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -8980,6 +8980,36 @@ (define-public rust-libz-sys-1.0
(license (list license:asl2.0
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
(package
(name "rust-linked-hash-map")