guix-commits
[Top][All Lists]
Advanced

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

394/471: gnu: Add rust-raw-window-handle-0.5.


From: guix-commits
Subject: 394/471: gnu: Add rust-raw-window-handle-0.5.
Date: Wed, 3 May 2023 09:29:02 -0400 (EDT)

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

commit 0313933d7d8d380864308c0028e7827e0c830b1b
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun Apr 23 16:21:57 2023 +0300

    gnu: Add rust-raw-window-handle-0.5.
    
    * gnu/packages/crates-graphics.scm (rust-raw-window-handle-0.5): New
    variable.
    (rust-raw-window-handle-0.4): Inherit from rust-raw-window-handle-0.5.
---
 gnu/packages/crates-graphics.scm | 26 ++++++++++++++++++++------
 1 file changed, 20 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm
index b4bef2e0dd..afb55517e5 100644
--- a/gnu/packages/crates-graphics.scm
+++ b/gnu/packages/crates-graphics.scm
@@ -2157,10 +2157,10 @@ AVIF format (powers the `cavif` tool).")
      (list nasm))                 ;for building rav1e
     (inputs '())))
 
-(define-public rust-raw-window-handle-0.4
+(define-public rust-raw-window-handle-0.5
   (package
     (name "rust-raw-window-handle")
-    (version "0.4.3")
+    (version "0.5.2")
     (source
      (origin
        (method url-fetch)
@@ -2168,17 +2168,31 @@ AVIF format (powers the `cavif` tool).")
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
         (base32
-         "0hgvrqbr2b62zhq4ryv08h92mwis9v8f7j9pwcgxzlp7nswvw05q"))))
+         "1f9k10fgda464ia1b2hni8f0sa8i0bphdsbs3di032x80qgrmzzj"))))
     (build-system cargo-build-system)
-    (arguments
-     `(#:cargo-inputs
-       (("rust-cty" ,rust-cty-0.2))))
     (home-page "https://github.com/rust-windowing/raw-window-handle";)
     (synopsis "Interoperability library for Rust Windowing applications")
     (description
      "Interoperability library for Rust Windowing applications.")
     (license license:expat)))
 
+(define-public rust-raw-window-handle-0.4
+  (package
+    (inherit rust-raw-window-handle-0.5)
+    (name "rust-raw-window-handle")
+    (version "0.4.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "raw-window-handle" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0hgvrqbr2b62zhq4ryv08h92mwis9v8f7j9pwcgxzlp7nswvw05q"))))
+    (arguments
+     `(#:cargo-inputs
+       (("rust-cty" ,rust-cty-0.2))))))
+
 (define-public rust-raw-window-handle-0.3
   (package
     (inherit rust-raw-window-handle-0.4)



reply via email to

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