diff options
author | Valentin Ignatev <valentignatev@gmail.com> | 2020-01-26 01:30:49 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2020-02-25 16:48:57 +0200 |
commit | a36b06561f955d4bcafe4200bc27dcca0fbac1f9 (patch) | |
tree | 0862eb70cfd52c0931f029e6375917cbf3c5c3e4 | |
parent | d899e93052644a3bc850ca0ee87d4cb539beece1 (diff) | |
download | patches-a36b06561f955d4bcafe4200bc27dcca0fbac1f9.tar patches-a36b06561f955d4bcafe4200bc27dcca0fbac1f9.tar.gz |
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>
-rw-r--r-- | gnu/packages/crates-io.scm | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index a14cf7a152..1b906d47c8 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -8980,6 +8980,36 @@ known as zlib).") (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") |