mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-04 02:19:18 -05:00
gnu: Add rust-lyon-geom-1.
* gnu/packages/crates-graphics.scm (rust-lyon-geom-1): New variable. (rust-lyon-geom-0.17): Inherit from rust-lyon-geom-1. Change-Id: Ifc1f283cbdfea9ba7b017d522ce31c36caa051d8
This commit is contained in:
parent
5c58153f26
commit
71e2418654
1 changed files with 25 additions and 7 deletions
|
@ -2083,8 +2083,32 @@ (define-public rust-line-drawing-0.7
|
|||
graphics and video games.")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public rust-lyon-geom-1
|
||||
(package
|
||||
(name "rust-lyon-geom")
|
||||
(version "1.0.5")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "lyon_geom" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "1ydzjz8lh2jlg9gjcpmkix0yxfgkv76yn0mb67h0nasa4f6zpv7d"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:cargo-inputs (("rust-arrayvec" ,rust-arrayvec-0.7)
|
||||
("rust-euclid" ,rust-euclid-0.22)
|
||||
("rust-num-traits" ,rust-num-traits-0.2)
|
||||
("rust-serde" ,rust-serde-1))))
|
||||
(home-page "https://github.com/nical/lyon")
|
||||
(synopsis "2D graphics rendering on the GPU using tessellation")
|
||||
(description
|
||||
"This package provides 2D graphics rendering on the GPU using tessellation.")
|
||||
(license (list license:expat license:asl2.0))))
|
||||
|
||||
(define-public rust-lyon-geom-0.17
|
||||
(package
|
||||
(inherit rust-lyon-geom-1)
|
||||
(name "rust-lyon-geom")
|
||||
(version "0.17.6")
|
||||
(source
|
||||
|
@ -2096,19 +2120,13 @@ (define-public rust-lyon-geom-0.17
|
|||
(sha256
|
||||
(base32
|
||||
"12al92qsh0f8ci3qf3533r4y5hxzzyfp972vm4wqzz9bq9vwx6ff"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:skip-build? #t
|
||||
#:cargo-inputs
|
||||
(("rust-arrayvec" ,rust-arrayvec-0.5)
|
||||
("rust-euclid" ,rust-euclid-0.22)
|
||||
("rust-num-traits" ,rust-num-traits-0.2)
|
||||
("rust-serde" ,rust-serde-1))))
|
||||
(home-page "https://github.com/nical/lyon")
|
||||
(synopsis "2D graphics rendering on the GPU using tessellation")
|
||||
(description
|
||||
"This package provides 2D graphics rendering on the GPU using tessellation.")
|
||||
(license (list license:expat license:asl2.0))))
|
||||
("rust-serde" ,rust-serde-1))))))
|
||||
|
||||
(define-public rust-lyon-path-0.17
|
||||
(package
|
||||
|
|
Loading…
Reference in a new issue