mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-12 22:26:40 -05:00
gnu: Add rust-glib-sys-0.10.
* gnu/packages/crates-gtk.scm (rust-glib-sys-0.10): New variable. (rust-glib-sys-0.9): inherit from above.
This commit is contained in:
parent
0ed6c7444e
commit
6920ffdd42
1 changed files with 34 additions and 12 deletions
|
@ -1,5 +1,6 @@
|
||||||
;;; GNU Guix --- Functional package management for GNU
|
;;; GNU Guix --- Functional package management for GNU
|
||||||
;;; Copyright © 2020 Efraim Flashner <efraim@flashner.co.il>
|
;;; Copyright © 2020 Efraim Flashner <efraim@flashner.co.il>
|
||||||
|
;;; Copyright © 2020 Nicolas Goaziou <mail@nicolasgoaziou.fr>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; This file is part of GNU Guix.
|
||||||
;;;
|
;;;
|
||||||
|
@ -394,8 +395,36 @@ (define-public rust-glib-0.8
|
||||||
#:cargo-development-inputs
|
#:cargo-development-inputs
|
||||||
(("rust-tempfile" ,rust-tempfile-3))))))
|
(("rust-tempfile" ,rust-tempfile-3))))))
|
||||||
|
|
||||||
|
(define-public rust-glib-sys-0.10
|
||||||
|
(package
|
||||||
|
(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"))))
|
||||||
|
(build-system cargo-build-system)
|
||||||
|
(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))))
|
||||||
|
(inputs
|
||||||
|
`(("glib" ,glib)))
|
||||||
|
(home-page "http://gtk-rs.org/")
|
||||||
|
(synopsis "FFI bindings to libglib-2.0")
|
||||||
|
(description "This package provides FFI bindings to libglib-2.0.")
|
||||||
|
(license license:expat)))
|
||||||
|
|
||||||
(define-public rust-glib-sys-0.9
|
(define-public rust-glib-sys-0.9
|
||||||
(package
|
(package
|
||||||
|
(inherit rust-glib-sys-0.10)
|
||||||
(name "rust-glib-sys")
|
(name "rust-glib-sys")
|
||||||
(version "0.9.1")
|
(version "0.9.1")
|
||||||
(source
|
(source
|
||||||
|
@ -407,7 +436,6 @@ (define-public rust-glib-sys-0.9
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1qhnwfqqcp63mx4q9744rfkq78g6ky2j8ppsxxgw0ipl08w6z1cm"))))
|
"1qhnwfqqcp63mx4q9744rfkq78g6ky2j8ppsxxgw0ipl08w6z1cm"))))
|
||||||
(build-system cargo-build-system)
|
|
||||||
(arguments
|
(arguments
|
||||||
`(#:tests? #f ; Some test libraries not included in release.
|
`(#:tests? #f ; Some test libraries not included in release.
|
||||||
#:cargo-inputs
|
#:cargo-inputs
|
||||||
|
@ -415,13 +443,7 @@ (define-public rust-glib-sys-0.9
|
||||||
("rust-pkg-config" ,rust-pkg-config-0.3))
|
("rust-pkg-config" ,rust-pkg-config-0.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))))))
|
||||||
(inputs
|
|
||||||
`(("glib" ,glib)))
|
|
||||||
(home-page "http://gtk-rs.org/")
|
|
||||||
(synopsis "FFI bindings to libglib-2.0")
|
|
||||||
(description "This package provides FFI bindings to libglib-2.0.")
|
|
||||||
(license license:expat)))
|
|
||||||
|
|
||||||
(define-public rust-gobject-sys-0.9
|
(define-public rust-gobject-sys-0.9
|
||||||
(package
|
(package
|
||||||
|
|
Loading…
Reference in a new issue