summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorValentin Ignatev <valentignatev@gmail.com>2020-01-26 01:24:31 +0300
committerEfraim Flashner <efraim@flashner.co.il>2020-02-25 16:48:56 +0200
commitdef0676b0bbaa1fff2d5b0a18af172966bafbced (patch)
treec75e36d1ce77771391528b9d70d96d59c6332797 /gnu
parent788de3aec8faa7b54ccb978860f1a6a57be6b8fc (diff)
gnu: Add rust-jpeg-decoder-0.1.
* gnu/packages/crates-io.scm (rust-jpeg-decoder-0.1): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm28
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 7966a5c9d2..07e40c36e7 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -7156,6 +7156,34 @@ primitives to an @code{io::Write}.")
"An implementation of the GNU make jobserver for Rust.")
(license (list license:expat license:asl2.0))))
+(define-public rust-jpeg-decoder-0.1
+ (package
+ (name "rust-jpeg-decoder")
+ (version "0.1.18")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "jpeg-decoder" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0lc428qgffh2a1agkq0p26mvf9rjaiswpywy5883j99mqypg0mh2"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ; Some test files missing.
+ #:cargo-inputs
+ (("rust-byteorder" ,rust-byteorder-1.3)
+ ("rust-rayon" ,rust-rayon-1.1))
+ #:cargo-development-inputs
+ (("rust-criterion" ,rust-criterion-0.3)
+ ("rust-png" ,rust-png-0.14)
+ ("rust-walkdir" ,rust-walkdir-2.2))))
+ (home-page "https://github.com/image-rs/jpeg-decoder")
+ (synopsis "JPEG decoder")
+ (description "JPEG decoder written in Rust.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-js-sys-0.3
(package
(name "rust-js-sys")