guix-commits
[Top][All Lists]
Advanced

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

221/330: gnu: rust-palette-0.7: Update to 0.7.5.


From: guix-commits
Subject: 221/330: gnu: rust-palette-0.7: Update to 0.7.5.
Date: Mon, 18 Mar 2024 07:16:19 -0400 (EDT)

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

commit 75962a5e0f48cad399234783e6c72ca2091d9ab3
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun Mar 17 14:27:54 2024 +0200

    gnu: rust-palette-0.7: Update to 0.7.5.
    
    * gnu/packages/crates-graphics.scm (rust-palette-0.7): Update to 0.7.5.
    [source]: Add snippet to allow newer versions of dependencies.
    [cargo-development-inputs]: Remove rust-clap-3, rust-criterion-0.4,
    rust-csv-1, rust-lazy-static-1, rust-scad-1, rust-serde-1,
    rust-serde-derive-1.
    
    Change-Id: I0450c755536df45db1231d6a97c486a58bea2d6d
---
 gnu/packages/crates-graphics.scm | 18 ++++++++----------
 1 file changed, 8 insertions(+), 10 deletions(-)

diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm
index 73abcd907e..0aba0a5715 100644
--- a/gnu/packages/crates-graphics.scm
+++ b/gnu/packages/crates-graphics.scm
@@ -2544,14 +2544,19 @@ graphics and video games.")
 (define-public rust-palette-0.7
   (package
     (name "rust-palette")
-    (version "0.7.3")
+    (version "0.7.5")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "palette" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "1p2inf23vsqy06w7vp7rcxmb9vk91asib534m9cafykn8x0z7qmj"))))
+        (base32 "0ynr6q7629gpw6pg8w1wrsl31sq48nxh1bg4awyrhhk6nyj27z7b"))
+       (modules '((guix build utils)))
+       (snippet
+        '(begin (substitute* "Cargo.toml"
+                  (("\"=([[:digit:]]+(\\.[[:digit:]]+)*)" _ version)
+                   (string-append "\"^" version)))))))
     (build-system cargo-build-system)
     (arguments
      `(#:tests? #f  ; Regression tests not included.
@@ -2566,17 +2571,10 @@ graphics and video games.")
         ("rust-serde" ,rust-serde-1)
         ("rust-wide" ,rust-wide-0.7))
        #:cargo-development-inputs
-       (("rust-clap" ,rust-clap-3)
-        ("rust-criterion" ,rust-criterion-0.4)
-        ("rust-csv" ,rust-csv-1)
-        ("rust-enterpolation" ,rust-enterpolation-0.2)
+       (("rust-enterpolation" ,rust-enterpolation-0.2)
         ("rust-image" ,rust-image-0.23)
-        ("rust-lazy-static" ,rust-lazy-static-1)
         ("rust-rand-mt" ,rust-rand-mt-4)
         ("rust-ron" ,rust-ron-0.8)
-        ("rust-scad" ,rust-scad-1)
-        ("rust-serde" ,rust-serde-1)
-        ("rust-serde-derive" ,rust-serde-derive-1)
         ("rust-serde-json" ,rust-serde-json-1))))
     (home-page "https://github.com/Ogeon/palette";)
     (synopsis "Convert and manage colors")



reply via email to

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