summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetr Hodina <phodina@protonmail.com>2022-01-11 01:12:57 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2022-01-21 01:12:58 +0100
commit91690d16a4a0049e95977db761f948241745538d (patch)
tree25ee2e60a89af034fcfa1c38430dd7de4eae2bcd
parente6074b6f9b39969fde9679e206f69e37751f5def (diff)
gnu: Add rust-lyon-svg-0.17.
* gnu/packages/crates-graphics.scm (rust-lyon-svg-0.17): New variable. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
-rw-r--r--gnu/packages/crates-graphics.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm
index fc589c7bfa..bb15fe6f51 100644
--- a/gnu/packages/crates-graphics.scm
+++ b/gnu/packages/crates-graphics.scm
@@ -1488,6 +1488,29 @@ graphics and video games.")
"Types and utilities to store, build and iterate over 2D paths.")
(license (list license:expat license:asl2.0))))
+(define-public rust-lyon-svg-0.17
+ (package
+ (name "rust-lyon-svg")
+ (version "0.17.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "lyon_svg" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0fin6h9vwgz7gi2a1b0j9bp8a1aval2lvha1kzy7iijm4kgdcj3d"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build?
+ #t
+ #:cargo-inputs
+ (("rust-lyon-path" ,rust-lyon-path-0.17)
+ ("rust-svgtypes" ,rust-svgtypes-0.5))))
+ (home-page "https://github.com/nical/lyon")
+ (synopsis "SVG helpers for the lyon crates")
+ (description "This package provides SVG helpers for the lyon crates.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-osmesa-sys-0.1
(package
(name "rust-osmesa-sys")