dannym pushed a commit to branch wip-desktop
in repository guix.
commit 72f527a92cd5c4606f713c538896ac5af2eb7add
Author: Raghav Gururajan <[email protected]>
AuthorDate: Fri Jul 3 13:02:22 2020 -0400
gnu: Add rust-imgref.
* gnu/packages/crates-io.scm (rust-imgref): New variable.
Signed-off-by: Danny Milosavljevic <[email protected]>
---
gnu/packages/crates-io.scm | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 0200b28..d5ab5b5 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -11319,6 +11319,27 @@ for the most common image formats.")
("rust-num-complex" ,rust-num-complex-0.2)
("rust-quickcheck" ,rust-quickcheck-0.6))))))
+(define-public rust-imgref
+ (package
+ (name "rust-imgref")
+ (version "1.6.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "imgref" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1f2m9lq769248bwbyzda714a8xcgk5bdpdsi20xcnavikiw449g8"))))
+ (build-system cargo-build-system)
+ (home-page "https://lib.rs/crates/imgref")
+ (synopsis "Image processing library")
+ (description
+ "A trivial struct for interchange of 2d-dimensional pixel buffers
+with width, height & stride.")
+ (license license:cc0)))
+
(define-public rust-indexmap-1
(package
(name "rust-indexmap")