mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-25 20:19:18 -05:00
gnu: Add rust-cairo-rs-0.18.
* gnu/packages/crates-gtk.scm (rust-cairo-rs-0.18): New variable. (rust-cairo-rs-0.17): Inherit from rust-cairo-rs-0.18. Change-Id: I8d2755ffd74eab98085e5f7e8faf8f66429adfe7 Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
parent
e1b5928d74
commit
41e1f09547
1 changed files with 30 additions and 10 deletions
|
@ -171,8 +171,37 @@ (define-public rust-atk-0.8
|
|||
#:cargo-development-inputs
|
||||
(("rust-gir-format-check" ,rust-gir-format-check-0.1))))))
|
||||
|
||||
(define-public rust-cairo-rs-0.18
|
||||
(package
|
||||
(name "rust-cairo-rs")
|
||||
(version "0.18.2")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "cairo-rs" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "0k8wfv2ri8i417pwb1mvdl51x02nsx52f31rxzg7ivn0m3gnc10w"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-2)
|
||||
("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.18)
|
||||
("rust-freetype-rs" ,rust-freetype-rs-0.32)
|
||||
("rust-glib" ,rust-glib-0.18)
|
||||
("rust-libc" ,rust-libc-0.2)
|
||||
("rust-float-eq" ,rust-float-eq-1)
|
||||
("rust-once-cell" ,rust-once-cell-1)
|
||||
("rust-thiserror" ,rust-thiserror-1))))
|
||||
(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.17
|
||||
(package
|
||||
(inherit rust-cairo-rs-0.18)
|
||||
(name "rust-cairo-rs")
|
||||
(version "0.17.10")
|
||||
(source
|
||||
|
@ -182,7 +211,6 @@ (define-public rust-cairo-rs-0.17
|
|||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "02lz7kvml4m6fx02hy1pgk6ysils9di8n75m166kcpla0b206dmb"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:cargo-inputs
|
||||
(("rust-bitflags" ,rust-bitflags-1)
|
||||
|
@ -194,15 +222,7 @@ (define-public rust-cairo-rs-0.17
|
|||
("rust-thiserror" ,rust-thiserror-1))
|
||||
#:cargo-development-inputs
|
||||
(("rust-float-eq" ,rust-float-eq-1)
|
||||
("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)))
|
||||
("rust-tempfile" ,rust-tempfile-3))))))
|
||||
|
||||
(define-public rust-cairo-rs-0.15
|
||||
(package
|
||||
|
|
Loading…
Reference in a new issue