guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

110/127: gnu: Add rust-fast-srgb8-1.


From: guix-commits
Subject: 110/127: gnu: Add rust-fast-srgb8-1.
Date: Tue, 26 Dec 2023 06:42:57 -0500 (EST)

efraim pushed a commit to branch rust-team
in repository guix.

commit 98788f451ee90a52b6e408c29130be4e9a839c29
Author: Jaeme Sifat <jaeme@runbox.com>
AuthorDate: Tue Dec 19 22:55:12 2023 -0500

    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>
---
 gnu/packages/crates-graphics.scm | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]