From e812fd130dabda501d5508b2ba781a4e787f8c66 Mon Sep 17 00:00:00 2001 From: Raghav Gururajan Date: Fri, 3 Jul 2020 13:02:22 -0400 Subject: [PATCH 47/51] gnu: Add rust-imgref. * gnu/packages/crates-io.scm (rust-imgref): New variable. --- 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 a2d82c466e..08f6c6b249 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -10319,6 +10319,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.3 (package (name "rust-indexmap") -- 2.26.2