aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorMarius Bakke <marius@gnu.org>2022-07-26 11:39:44 +0200
committerMarius Bakke <marius@gnu.org>2022-07-27 12:31:26 +0200
commit25d59733a52075fe802b7928fdaa2f236814cd15 (patch)
tree0ce9052359dec64a3d055241e6493688cd2a85b5 /gnu
parent551e9e958754f675cdd674405bf24924383f8362 (diff)
downloadguix-25d59733a52075fe802b7928fdaa2f236814cd15.tar
guix-25d59733a52075fe802b7928fdaa2f236814cd15.tar.gz
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.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-graphics.scm29
1 files 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")