summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-10 22:27:07 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-13 11:50:49 +0100
commit841cd57b6d3bed30d96c7bd034281ee908f85d2f (patch)
treea56e6e97a5d02a7de3b4c7645640ededef98112b /gnu
parent86825f7f85f91ff648416fea2198d8d36ea54c7f (diff)
downloadguix-841cd57b6d3bed30d96c7bd034281ee908f85d2f.tar.gz
gnu: Add rust-loop9-0.1.
* gnu/packages/crates-io.scm (rust-loop9-0.1): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 5bf09ea12c..5d39d7340e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -21585,6 +21585,29 @@ explosion.")
         ("rust-serde-derive" ,rust-serde-derive-1)
         ("rust-serde-json" ,rust-serde-json-1))))))
 
+(define-public rust-loop9-0.1
+  (package
+    (name "rust-loop9")
+    (version "0.1.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "loop9" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0h4rys8001cdq4l2f30k66wmvscm4lb2laxgpia794p5652800x7"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-imgref" ,rust-imgref-1))))
+    (home-page "https://lib.rs/loop9")
+    (synopsis "Helper function to visit every pixel and its neighbors")
+    (description
+     "This package provides a tiny helper function to visit every pixel in the
+image together with its neighboring pixels.")
+    (license license:expat)))
+
 (define-public rust-lopdf-0.25
   (package
     (name "rust-lopdf")