guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

08/18: gnu: Add rust-bresenham-0.1.


From: guix-commits
Subject: 08/18: gnu: Add rust-bresenham-0.1.
Date: Sun, 9 Feb 2020 05:14:40 -0500 (EST)

efraim pushed a commit to branch master
in repository guix.

commit 7dc8a3a55348d452e9064f80d110072f7ad83460
Author: Valentin Ignatev <address@hidden>
AuthorDate: Wed Jan 15 03:24:40 2020 +0300

    gnu: Add rust-bresenham-0.1.
    
    * gnu/packages/crates-io.scm (rust-bresenham-0.1): New variable.
---
 gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c1844b9..bb17849 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -730,6 +730,28 @@ 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)
+    (home-page "https://github.com/mbr/bresenham-rs";)
+    (synopsis
+     "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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]