diff options
author | Jaeme Sifat <jaeme@runbox.com> | 2023-12-19 22:55:12 -0500 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-02-20 13:56:46 +0200 |
commit | 1bf432aa0a5046a6882ab07533d592914d27165e (patch) | |
tree | 3f7cc2703b127c9adbd54b4c2a30e12da91fb36a | |
parent | c1f492216bdbe24eae970e45f0313768966b7d4a (diff) | |
download | guix-1bf432aa0a5046a6882ab07533d592914d27165e.tar.gz |
gnu: Add rust-fast-srgb8-1.
* gnu/packages/crates-graphics.scm (rust-fast-srgb8-1): New variable. Change-Id: If1ce13ad8c4f2a04b9f77a16063218d4540bd10e Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
-rw-r--r-- | gnu/packages/crates-graphics.scm | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm index a4b8e321b2..a3cb4c6c75 100644 --- a/gnu/packages/crates-graphics.scm +++ b/gnu/packages/crates-graphics.scm @@ -893,6 +893,25 @@ EUI-64, also known as MAC-48 media access control addresses.") (description "Read and write OpenEXR files without any unsafe code") (license license:bsd-3))) +(define-public rust-fast-srgb8-1 + (package + (name "rust-fast-srgb8") + (version "1.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "fast-srgb8" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "18g6xwwh4gnkyx1352hnvwagpv0n4y98yp2llm8vyvwxh487abnx")))) + (build-system cargo-build-system) + (home-page "https://github.com/thomcc/fast-srgb8") + (synopsis "Conversions between linear float and 8-bit @code{sRGB}") + (description + "This package provides very fast conversions between linear float and +8-bit @code{sRGB} (with @code{no_std} support).") + (license (list license:expat license:asl2.0 license:cc0)))) + (define-public rust-gfx-0.18 (package (name "rust-gfx") |