From 8644e7a754b9b2ed57185174d2f791be8d664dc7 Mon Sep 17 00:00:00 2001 From: Valentin Ignatev Date: Wed, 15 Jan 2020 03:24:40 +0300 Subject: [PATCH 008/275] gnu: Add rust-bresenham-0.1. * gnu/packages/crates-io.scm (rust-bresenham-0.1): New variable. --- gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index a28ed7040c..8106370396 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -699,6 +699,30 @@ and no more (caveat: black_box is still missing!).") that uses Serde for transforming structs into bytes and vice versa!") (license license:expat))) +(define-public rust-bresenham-0.1 + (package + (name "rust-bresenham") + (version "0.1.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "bresenham" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1mvg3zcyll0m3z79jwbg183ha4kb7bw06rd286ijwvgn4mi13hdz")))) + (build-system cargo-build-system) + (arguments '(#:skip-build? #t)) + (home-page "https://github.com/mbr/bresenham-rs") + (synopsis + "A fast, iterator-based integer-only implementation of +Bresenham's line algorithm.") + (description + "This package provides a fast, iterator-based integer-only implementation of +Bresenham's line algorithm.") + (license license:expat))) + (define-public rust-generator-0.6 (package (name "rust-generator") -- 2.25.0