guix-commits
[Top][All Lists]
Advanced

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

22/22: gnu: rust-raw-window-handle: Add 0.4.3.


From: guix-commits
Subject: 22/22: gnu: rust-raw-window-handle: Add 0.4.3.
Date: Wed, 27 Jul 2022 06:32:31 -0400 (EDT)

mbakke pushed a commit to branch master
in repository guix.

commit 25d59733a52075fe802b7928fdaa2f236814cd15
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Tue Jul 26 11:39:44 2022 +0200

    gnu: rust-raw-window-handle: Add 0.4.3.
    
    * gnu/packages/crates-graphics.scm (rust-raw-window-handle-0.4): New 
variable.
    (rust-raw-window-handle-0.3): Inherit from it.
---
 gnu/packages/crates-graphics.scm | 29 +++++++++++++++++++++++------
 1 file changed, 23 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm
index d1a9c4dd6d..5d88cb0372 100644
--- a/gnu/packages/crates-graphics.scm
+++ b/gnu/packages/crates-graphics.scm
@@ -2087,28 +2087,45 @@ interactive applications.")
 images in AVIF format.")
     (license license:bsd-3)))
 
-(define-public rust-raw-window-handle-0.3
+(define-public rust-raw-window-handle-0.4
   (package
     (name "rust-raw-window-handle")
-    (version "0.3.3")
+    (version "0.4.3")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "raw-window-handle" version))
-       (file-name
-        (string-append name "-" version ".tar.gz"))
+       (file-name (string-append name "-" version ".tar.gz"))
        (sha256
         (base32
-         "04c2wir7qq3g2b143yav52a1g5ack8ffqx2bpmrn9bc0dix1li0a"))))
+         "0hgvrqbr2b62zhq4ryv08h92mwis9v8f7j9pwcgxzlp7nswvw05q"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2))))
+     `(#: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.3
+  (package
+    (inherit rust-raw-window-handle-0.4)
+    (name "rust-raw-window-handle")
+    (version "0.3.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "raw-window-handle" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "04c2wir7qq3g2b143yav52a1g5ack8ffqx2bpmrn9bc0dix1li0a"))))
+    (arguments
+     `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2))))))
+
 (define-public rust-resize-0.3
   (package
     (name "rust-resize")



reply via email to

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