me
/
guix
Archived
1
0
Fork 0

gnu: Add rust-glib-sys-0.14.

* gnu/packages/crates-gtk.scm (rust-glib-sys-0.14): New variable.
  (rust-glib-sys-0.10): Inherit from above.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Petr Hodina 2022-01-10 19:09:15 +01:00 committed by Nicolas Goaziou
parent 6a54d63916
commit 06d6a2bd43
No known key found for this signature in database
GPG Key ID: DA00B4F048E92F2D
1 changed files with 27 additions and 5 deletions

View File

@ -801,23 +801,24 @@
("rust-quote" ,rust-quote-1) ("rust-quote" ,rust-quote-1)
("rust-syn" ,rust-syn-1)))))) ("rust-syn" ,rust-syn-1))))))
(define-public rust-glib-sys-0.10 (define-public rust-glib-sys-0.14
(package (package
(name "rust-glib-sys") (name "rust-glib-sys")
(version "0.10.1") (version "0.14.0")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (crate-uri "glib-sys" version)) (uri (crate-uri "glib-sys" version))
(file-name (string-append name "-" version ".tar.gz")) (file-name (string-append name "-" version ".tar.gz"))
(sha256 (sha256
(base32 "1hfdwilf3dnrv3pnfbwmp3h2afgwvfsapcgjfg8276kflsbvksf7")))) (base32 "1bjlymn3fw4g8slij6iiggaipknf9072mr2qm3i4a91199an078w"))))
(build-system cargo-build-system) (build-system cargo-build-system)
(arguments (arguments
`(#:skip-build? #t `(#:skip-build?
#t
#:cargo-inputs #:cargo-inputs
(("rust-libc" ,rust-libc-0.2) (("rust-libc" ,rust-libc-0.2)
("rust-system-deps" ,rust-system-deps-1)) ("rust-system-deps" ,rust-system-deps-3))
#:cargo-development-inputs #:cargo-development-inputs
(("rust-shell-words" ,rust-shell-words-0.1) (("rust-shell-words" ,rust-shell-words-0.1)
("rust-tempfile" ,rust-tempfile-3)))) ("rust-tempfile" ,rust-tempfile-3))))
@ -828,6 +829,27 @@
(description "This package provides FFI bindings to libglib-2.0.") (description "This package provides FFI bindings to libglib-2.0.")
(license license:expat))) (license license:expat)))
(define-public rust-glib-sys-0.10
(package
(inherit rust-glib-sys-0.14)
(name "rust-glib-sys")
(version "0.10.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "glib-sys" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1hfdwilf3dnrv3pnfbwmp3h2afgwvfsapcgjfg8276kflsbvksf7"))))
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-libc" ,rust-libc-0.2)
("rust-system-deps" ,rust-system-deps-1))
#:cargo-development-inputs
(("rust-shell-words" ,rust-shell-words-0.1)
("rust-tempfile" ,rust-tempfile-3))))))
(define-public rust-glib-sys-0.9 (define-public rust-glib-sys-0.9
(package (package
(inherit rust-glib-sys-0.10) (inherit rust-glib-sys-0.10)