mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: rust-cairo-rs: Add 0.15.12.
* gnu/packages/crates-gtk.scm (rust-cairo-rs-0.15): New variable. (rust-cairo-rs-0.14): Inherit from it.
This commit is contained in:
parent
bc9ea4f6e8
commit
01c410a440
1 changed files with 33 additions and 7 deletions
|
@ -168,8 +168,40 @@
|
||||||
#: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))))))
|
||||||
|
|
||||||
|
(define-public rust-cairo-rs-0.15
|
||||||
|
(package
|
||||||
|
(name "rust-cairo-rs")
|
||||||
|
(version "0.15.12")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (crate-uri "cairo-rs" version))
|
||||||
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32 "1g396fdz8crf74dmmjarcsdbsm8qgxy3a5x9kw6m2d9xn28y6vn7"))))
|
||||||
|
(build-system cargo-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:cargo-inputs
|
||||||
|
(("rust-bitflags" ,rust-bitflags-1)
|
||||||
|
("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.15)
|
||||||
|
("rust-freetype" ,rust-freetype-0.7)
|
||||||
|
("rust-glib" ,rust-glib-0.15)
|
||||||
|
("rust-libc" ,rust-libc-0.2)
|
||||||
|
("rust-thiserror" ,rust-thiserror-1))
|
||||||
|
#:cargo-development-inputs
|
||||||
|
(("rust-tempfile" ,rust-tempfile-3))))
|
||||||
|
(native-inputs
|
||||||
|
(list pkg-config))
|
||||||
|
(inputs
|
||||||
|
(list cairo))
|
||||||
|
(home-page "https://gtk-rs.org/")
|
||||||
|
(synopsis "Rust bindings for the Cairo library")
|
||||||
|
(description "Rust bindings for the Cairo library")
|
||||||
|
(license license:expat)))
|
||||||
|
|
||||||
(define-public rust-cairo-rs-0.14
|
(define-public rust-cairo-rs-0.14
|
||||||
(package
|
(package
|
||||||
|
(inherit rust-cairo-rs-0.15)
|
||||||
(name "rust-cairo-rs")
|
(name "rust-cairo-rs")
|
||||||
(version "0.14.9")
|
(version "0.14.9")
|
||||||
(source
|
(source
|
||||||
|
@ -191,13 +223,7 @@
|
||||||
("rust-libc" ,rust-libc-0.2)
|
("rust-libc" ,rust-libc-0.2)
|
||||||
("rust-thiserror" ,rust-thiserror-1))
|
("rust-thiserror" ,rust-thiserror-1))
|
||||||
#:cargo-development-inputs
|
#:cargo-development-inputs
|
||||||
(("rust-tempfile" ,rust-tempfile-3))))
|
(("rust-tempfile" ,rust-tempfile-3))))))
|
||||||
(inputs
|
|
||||||
(list cairo))
|
|
||||||
(home-page "https://gtk-rs.org/")
|
|
||||||
(synopsis "Rust bindings for the Cairo library")
|
|
||||||
(description "Rust bindings for the Cairo library")
|
|
||||||
(license license:expat)))
|
|
||||||
|
|
||||||
(define-public rust-cairo-rs-0.9
|
(define-public rust-cairo-rs-0.9
|
||||||
(package
|
(package
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue