mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-24 11:39:46 -05:00
gnu: Add rust-gdk-pixbuf-0.9.
* gnu/packages/crates-gtk.scm (rust-gdk-pixbuf-0.9): New variable. (rust-gdk-pixbuf-0.8): inherit from above.
This commit is contained in:
parent
8bf089c436
commit
8b657f3ece
1 changed files with 40 additions and 17 deletions
|
@ -224,20 +224,50 @@ (define-public rust-cairo-sys-rs-0.9
|
||||||
("rust-x11" ,rust-x11-2)
|
("rust-x11" ,rust-x11-2)
|
||||||
("rust-pkg-config" ,rust-pkg-config-0.3))))))
|
("rust-pkg-config" ,rust-pkg-config-0.3))))))
|
||||||
|
|
||||||
|
(define-public rust-gdk-pixbuf-0.9
|
||||||
|
(package
|
||||||
|
(name "rust-gdk-pixbuf")
|
||||||
|
(version "0.9.0")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (crate-uri "gdk-pixbuf" version))
|
||||||
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32 "12lrk7zwshid8dgx9vg87bk0h4a0ilpi7w48idsrpm4xp4yawvcg"))))
|
||||||
|
(build-system cargo-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:skip-build? #t
|
||||||
|
#:cargo-inputs
|
||||||
|
(("rust-gdk-pixbuf-sys" ,rust-gdk-pixbuf-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))
|
||||||
|
#:cargo-development-inputs
|
||||||
|
(("rust-gir-format-check" ,rust-gir-format-check-0.1))))
|
||||||
|
(inputs
|
||||||
|
`(("gdk-pixbuf" ,gdk-pixbuf)))
|
||||||
|
(home-page "http://gtk-rs.org/")
|
||||||
|
(synopsis "Rust bindings for the GdkPixbuf library")
|
||||||
|
(description "Rust bindings for the GdkPixbuf library")
|
||||||
|
(license license:expat)))
|
||||||
|
|
||||||
(define-public rust-gdk-pixbuf-0.8
|
(define-public rust-gdk-pixbuf-0.8
|
||||||
(package
|
(package
|
||||||
|
(inherit rust-gdk-pixbuf-0.9)
|
||||||
(name "rust-gdk-pixbuf")
|
(name "rust-gdk-pixbuf")
|
||||||
(version "0.8.0")
|
(version "0.8.0")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (crate-uri "gdk-pixbuf" version))
|
(uri (crate-uri "gdk-pixbuf" version))
|
||||||
(file-name
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
(string-append name "-" version ".tar.gz"))
|
(sha256
|
||||||
(sha256
|
(base32 "1mxxca0fkcw2rsd3kl3nvlb8ys4cgxqx4n5isjbv0adk8q624j72"))))
|
||||||
(base32
|
|
||||||
"1mxxca0fkcw2rsd3kl3nvlb8ys4cgxqx4n5isjbv0adk8q624j72"))))
|
|
||||||
(build-system cargo-build-system)
|
|
||||||
(arguments
|
(arguments
|
||||||
`(#:cargo-inputs
|
`(#:cargo-inputs
|
||||||
(("rust-gdk-pixbuf-sys" ,rust-gdk-pixbuf-sys-0.9)
|
(("rust-gdk-pixbuf-sys" ,rust-gdk-pixbuf-sys-0.9)
|
||||||
|
@ -249,14 +279,7 @@ (define-public rust-gdk-pixbuf-0.8
|
||||||
("rust-libc" ,rust-libc-0.2)
|
("rust-libc" ,rust-libc-0.2)
|
||||||
("rust-gtk-rs-lgpl-docs" ,rust-gtk-rs-lgpl-docs-0.1))
|
("rust-gtk-rs-lgpl-docs" ,rust-gtk-rs-lgpl-docs-0.1))
|
||||||
#:cargo-development-inputs
|
#:cargo-development-inputs
|
||||||
(("rust-gir-format-check" ,rust-gir-format-check-0.1))))
|
(("rust-gir-format-check" ,rust-gir-format-check-0.1))))))
|
||||||
(inputs
|
|
||||||
`(("gdk-pixbuf" ,gdk-pixbuf)))
|
|
||||||
(home-page "https://gtk-rs.org/")
|
|
||||||
(synopsis "Rust bindings for the GdkPixbuf library")
|
|
||||||
(description
|
|
||||||
"Rust bindings for the GdkPixbuf library.")
|
|
||||||
(license license:expat)))
|
|
||||||
|
|
||||||
(define-public rust-gdk-pixbuf-0.7
|
(define-public rust-gdk-pixbuf-0.7
|
||||||
(package
|
(package
|
||||||
|
|
Loading…
Reference in a new issue