mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
gnu: Add rust-gdk-0.13.
* gnu/packages/crates-gtk.scm (rust-gdk-0.13): New variable. (rust-gdk-0.12): inherit from above.
This commit is contained in:
parent
979e770cd0
commit
50e9f5600b
1 changed files with 43 additions and 12 deletions
|
@ -224,8 +224,50 @@ (define-public rust-cairo-sys-rs-0.9
|
|||
("rust-x11" ,rust-x11-2)
|
||||
("rust-pkg-config" ,rust-pkg-config-0.3))))))
|
||||
|
||||
(define-public rust-gdk-0.13
|
||||
(package
|
||||
(name "rust-gdk")
|
||||
(version "0.13.2")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "gdk" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "0zbb9bwg2z9vlcjj9b59qch3mfmszsrxya7syc5a39v85adq606v"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:skip-build? #t
|
||||
#:cargo-inputs
|
||||
(("rust-bitflags" ,rust-bitflags-1)
|
||||
("rust-cairo-rs" ,rust-cairo-rs-0.9)
|
||||
("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.10)
|
||||
("rust-gdk-pixbuf" ,rust-gdk-pixbuf-0.9)
|
||||
("rust-gdk-sys" ,rust-gdk-sys-0.10)
|
||||
("rust-gio" ,rust-gio-0.9)
|
||||
("rust-gio-sys" ,rust-gio-sys-0.10)
|
||||
("rust-glib" ,rust-glib-0.10)
|
||||
("rust-glib-sys" ,rust-glib-sys-0.10)
|
||||
("rust-gobject-sys" ,rust-gobject-sys-0.10)
|
||||
("rust-gtk-rs-lgpl-docs" ,rust-gtk-rs-lgpl-docs-0.1)
|
||||
("rust-libc" ,rust-libc-0.2)
|
||||
("rust-pango" ,rust-pango-0.9))
|
||||
#:cargo-development-inputs
|
||||
(("rust-gir-format-check" ,rust-gir-format-check-0.1))))
|
||||
(inputs
|
||||
`(("cairo" ,cairo)
|
||||
("gdk-pixbuf" ,gdk-pixbuf)
|
||||
("glib" ,glib)
|
||||
("gtk+" ,gtk+)
|
||||
("pango" ,pango)))
|
||||
(home-page "http://gtk-rs.org/")
|
||||
(synopsis "Rust bindings for the GDK 3 library")
|
||||
(description "This package provides Rust bindings for the GDK 3 library.")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public rust-gdk-0.12
|
||||
(package
|
||||
(inherit rust-gdk-0.13)
|
||||
(name "rust-gdk")
|
||||
(version "0.12.1")
|
||||
(source
|
||||
|
@ -235,7 +277,6 @@ (define-public rust-gdk-0.12
|
|||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "12bmk9vfpk7f03fx22cq9ps00xylsxcpmp8c8r95r1n05xvyirgv"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:cargo-inputs
|
||||
(("rust-bitflags" ,rust-bitflags-1)
|
||||
|
@ -252,17 +293,7 @@ (define-public rust-gdk-0.12
|
|||
("rust-libc" ,rust-libc-0.2)
|
||||
("rust-pango" ,rust-pango-0.8))
|
||||
#:cargo-development-inputs
|
||||
(("rust-gir-format-check" ,rust-gir-format-check-0.1))))
|
||||
(inputs
|
||||
`(("cairo" ,cairo)
|
||||
("gdk-pixbuf" ,gdk-pixbuf)
|
||||
("glib" ,glib)
|
||||
("gtk+" ,gtk+)
|
||||
("pango" ,pango)))
|
||||
(home-page "http://gtk-rs.org/")
|
||||
(synopsis "Rust bindings for the GDK 3 library")
|
||||
(description "This package provides Rust bindings for the GDK 3 library.")
|
||||
(license license:expat)))
|
||||
(("rust-gir-format-check" ,rust-gir-format-check-0.1))))))
|
||||
|
||||
(define-public rust-gdk-pixbuf-0.9
|
||||
(package
|
||||
|
|
Loading…
Reference in a new issue