summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorMarius Bakke <marius@gnu.org>2022-07-27 15:27:17 +0200
committerMarius Bakke <marius@gnu.org>2022-07-27 16:13:39 +0200
commitd10effc13f6b973acae147f1c0aa3d7307246130 (patch)
tree69004b6b0b0eb26e88b46f6b87a7bc2b9f04482c /gnu/packages
parentdaf54d67e87d0f7ce6700d30d41b8f5c58a10f05 (diff)
gnu: rust-glium: Add 0.31.0.
* gnu/packages/crates-io.scm (rust-glium-0.31): New variable. (rust-glium-0.25): Inherit from it.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crates-io.scm45
1 files changed, 35 insertions, 10 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 968e38fabc..910b2e68df 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -25506,8 +25506,42 @@ graphics.")
graphics.")
(license (list license:expat license:asl2.0))))
+(define-public rust-glium-0.31
+ (package
+ (name "rust-glium")
+ (version "0.31.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "glium" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "06cfsq3mgjlq3bnxv7jh5bb5is7040xyvf8cf1x45vnq8fdz1d0a"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #true ;XXX circular dependencies
+ #:cargo-inputs
+ (("rust-backtrace" ,rust-backtrace-0.3)
+ ("rust-fnv" ,rust-fnv-1)
+ ("rust-glutin" ,rust-glutin-0.28)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-memoffset" ,rust-memoffset-0.6)
+ ("rust-smallvec" ,rust-smallvec-1)
+ ("rust-takeable-option" ,rust-takeable-option-0.5))
+ #:cargo-development-inputs
+ (("rust-gl-generator" ,rust-gl-generator-0.14))))
+ (home-page "https://github.com/glium/glium")
+ (synopsis "OpenGL wrapper")
+ (description
+ "Glium is an intermediate layer between OpenGL and your application. You
+still need to manually handle the graphics pipeline, but without having to use
+OpenGL's old and error-prone API.")
+ (license license:asl2.0)))
+
(define-public rust-glium-0.25
(package
+ (inherit rust-glium-0.31)
(name "rust-glium")
(version "0.25.1")
(source
@@ -25519,7 +25553,6 @@ graphics.")
(sha256
(base32
"0mhjly07x10lxg802ppg16wbxddhh4fdnlg10i99qwpfamvqhzbd"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-backtrace" ,rust-backtrace-0.3)
@@ -25534,15 +25567,7 @@ graphics.")
("rust-gl-generator" ,rust-gl-generator-0.11)
("rust-image" ,rust-image-0.21)
("rust-obj" ,rust-obj-0.9)
- ("rust-rand" ,rust-rand-0.6))))
- (home-page "https://github.com/glium/glium")
- (synopsis
- "OpenGL wrapper")
- (description
- "Glium is an intermediate layer between OpenGL and your application. You
-still need to manually handle the graphics pipeline, but without having to use
-OpenGL's old and error-prone API.")
- (license license:asl2.0)))
+ ("rust-rand" ,rust-rand-0.6))))))
(define-public rust-glob-0.3
(package