guix-commits
[Top][All Lists]
Advanced

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

280/330: gnu: Add rust-rust-embed-utils-8.


From: guix-commits
Subject: 280/330: gnu: Add rust-rust-embed-utils-8.
Date: Mon, 18 Mar 2024 07:16:36 -0400 (EDT)

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

commit 40c403e7b5a2c0776c6f0b71f1c9fb9dec4db639
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Mar 18 11:50:50 2024 +0200

    gnu: Add rust-rust-embed-utils-8.
    
    * gnu/packages/crates-io.scm (rust-rust-embed-utils-8): New variable.
    (rust-rust-embed-utils-5): Inherit from rust-rust-embed-utils-8.
    
    Change-Id: I764243844aef6b9fce5626036563fe703ff46da5
---
 gnu/packages/crates-io.scm | 29 +++++++++++++++++++++++------
 1 file changed, 23 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b3f4f15880..ab435cf816 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -60312,26 +60312,43 @@ into the Rust binary at compile time during release 
and loads the file from
 the file-system during development.")
     (license license:expat)))
 
-(define-public rust-rust-embed-utils-5
+(define-public rust-rust-embed-utils-8
   (package
     (name "rust-rust-embed-utils")
-    (version "5.1.0")
+    (version "8.3.0")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "rust-embed-utils" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "0vc7492a6qlq7r899p7vyx5cwiqwkw2pf85mfw5anwr42ccj4l9a"))))
+        (base32 "10am6j29b5p7na45cz6vqxkg8gy47xbir95d9vzzyrr50f4r1xl6"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:cargo-inputs
-       (("rust-walkdir" ,rust-walkdir-2))))
-    (home-page "https://github.com/pyros2097/rust-embed";)
+     `(#:cargo-inputs (("rust-globset" ,rust-globset-0.4)
+                       ("rust-mime-guess" ,rust-mime-guess-2)
+                       ("rust-sha2" ,rust-sha2-0.10)
+                       ("rust-walkdir" ,rust-walkdir-2))))
+    (home-page "https://github.com/pyrossh/rust-embed";)
     (synopsis "Utilities for @code{rust-embed}")
     (description "This package provides utilities for @code{rust-embed}.")
     (license license:expat)))
 
+(define-public rust-rust-embed-utils-5
+  (package
+    (inherit rust-rust-embed-utils-8)
+    (name "rust-rust-embed-utils")
+    (version "5.1.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "rust-embed-utils" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0vc7492a6qlq7r899p7vyx5cwiqwkw2pf85mfw5anwr42ccj4l9a"))))
+    (arguments
+     `(#:cargo-inputs (("rust-walkdir" ,rust-walkdir-2))))))
+
 (define-public rust-eml-parser-0.1
   (package
     (name "rust-eml-parser")



reply via email to

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