summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--unlustig.scm67
1 files changed, 56 insertions, 11 deletions
diff --git a/unlustig.scm b/unlustig.scm
index 19b6207..1879db7 100644
--- a/unlustig.scm
+++ b/unlustig.scm
@@ -337,6 +337,27 @@ right with surrounding punctuation like parentheses.")
(description "Minimal 2D math library for GUI work")
(license (list expat asl2.0))))
+(define-public rust-gl-0.5
+ (package
+ (name "rust-gl")
+ (version "0.5.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gl" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1a1xjar29zpw0lksqcskcf1x04zzs230x5qwchiigkpfriwykss9"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-gl-generator" ,rust-gl-generator-0.4)
+ ("rust-khronos-api" ,rust-khronos-api-1))
+ #:cargo-development-inputs (("rust-glutin" ,rust-glutin-0.4))))
+ (home-page "https://github.com/brendanzab/gl-rs/")
+ (synopsis "OpenGL bindings")
+ (description "@code{OpenGL} bindings")
+ (license asl2.0)))
+
(define-public rust-cint-0.2
(package
(name "rust-cint")
@@ -1370,7 +1391,7 @@ log output.")
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
- #:cargo-inputs (("rust-copypasta" ,rust-copypasta-0.10)
+ #:cargo-inputs (("rust-copypasta" ,rust-copypasta-0.7)
("rust-egui" ,rust-egui-0.15)
("rust-epi" ,rust-epi-0.15)
("rust-serde" ,rust-serde-1)
@@ -1382,26 +1403,50 @@ log output.")
(description "Bindings for using egui with winit")
(license (list expat asl2.0))))
-(define-public rust-x11-clipboard-0.9
+(define-public rust-x11-clipboard-0.5
(package
(name "rust-x11-clipboard")
- (version "0.9.2")
+ (version "0.5.3")
(source
(origin
(method url-fetch)
(uri (crate-uri "x11-clipboard" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "11l27l15y8hadnq2rcyzsc6rl1g1rb906cm151p49mr2jfh8b1xr"))))
+ (base32 "0g35qcmy7ayp3clbqnvvqjc7h02y9q2z294868c6mj0ap2vnhc27"))))
(build-system cargo-build-system)
(arguments
- `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2)
- ("rust-x11rb" ,rust-x11rb-0.13))))
+ `(#:cargo-inputs (("rust-xcb" ,rust-xcb-0.10))))
(home-page "https://github.com/quininer/x11-clipboard")
(synopsis "x11 clipboard support for Rust.")
(description "x11 clipboard support for Rust.")
(license expat)))
+(define-public rust-xcb-0.10
+ (package
+ (name "rust-xcb")
+ (version "0.10.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "xcb" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "171acbbbsr05ilw7ih0cc79qysci5pv91zyrdlfcs87pdncjn7kp"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-quick-xml" ,rust-quick-xml-0.22)
+ ("rust-x11" ,rust-x11-2))
+ #:cargo-development-inputs (("rust-gl" ,rust-gl-0.5)
+ ("rust-x11" ,rust-x11-2))))
+ (home-page "https://github.com/rust-x-bindings/rust-xcb")
+ (synopsis "Rust safe bindings for XCB")
+ (description "Rust safe bindings for XCB")
+ (license expat)))
+
(define-public rust-stdweb-internal-test-macro-0.1
(package
(name "rust-stdweb-internal-test-macro")
@@ -1523,25 +1568,25 @@ log output.")
"This package provides a standard library for the client-side Web")
(license (list expat asl2.0))))
-(define-public rust-copypasta-0.10
+(define-public rust-copypasta-0.7
(package
(name "rust-copypasta")
- (version "0.10.1")
+ (version "0.7.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "copypasta" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0n58sfbahs49ar0qivz1sqz1ixhh1ifgp5bzifjkvabwhqi59f6y"))))
+ (base32 "02zz6yndszmzr5yjhn11g1hsj0232jbzl8gch6mxksw3xngxf8s4"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-clipboard-win" ,rust-clipboard-win-3)
("rust-objc" ,rust-objc-0.2)
("rust-objc-foundation" ,rust-objc-foundation-0.1)
("rust-objc-id" ,rust-objc-id-0.1)
- ("rust-smithay-clipboard" ,rust-smithay-clipboard-0.7)
- ("rust-x11-clipboard" ,rust-x11-clipboard-0.9))))
+ ("rust-smithay-clipboard" ,rust-smithay-clipboard-0.6)
+ ("rust-x11-clipboard" ,rust-x11-clipboard-0.5))))
(home-page "https://github.com/alacritty/copypasta")
(synopsis
"copypasta is a cross-platform library for getting and setting the contents of the OS-level clipboard.")