me
/
guix
Archived
1
0
Fork 0

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.
master
Nicolas Goaziou 2020-12-05 11:55:08 +01:00
parent 8bf089c436
commit 8b657f3ece
No known key found for this signature in database
GPG Key ID: DA00B4F048E92F2D
1 changed files with 40 additions and 17 deletions

View File

@ -224,20 +224,50 @@
("rust-x11" ,rust-x11-2)
("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
(package
(inherit rust-gdk-pixbuf-0.9)
(name "rust-gdk-pixbuf")
(version "0.8.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "gdk-pixbuf" version))
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
(base32
"1mxxca0fkcw2rsd3kl3nvlb8ys4cgxqx4n5isjbv0adk8q624j72"))))
(build-system cargo-build-system)
(origin
(method url-fetch)
(uri (crate-uri "gdk-pixbuf" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1mxxca0fkcw2rsd3kl3nvlb8ys4cgxqx4n5isjbv0adk8q624j72"))))
(arguments
`(#:cargo-inputs
(("rust-gdk-pixbuf-sys" ,rust-gdk-pixbuf-sys-0.9)
@ -249,14 +279,7 @@
("rust-libc" ,rust-libc-0.2)
("rust-gtk-rs-lgpl-docs" ,rust-gtk-rs-lgpl-docs-0.1))
#:cargo-development-inputs
(("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)))
(("rust-gir-format-check" ,rust-gir-format-check-0.1))))))
(define-public rust-gdk-pixbuf-0.7
(package