From 91690d16a4a0049e95977db761f948241745538d Mon Sep 17 00:00:00 2001 From: Petr Hodina Date: Tue, 11 Jan 2022 01:12:57 +0100 Subject: [PATCH] gnu: Add rust-lyon-svg-0.17. * gnu/packages/crates-graphics.scm (rust-lyon-svg-0.17): New variable. Signed-off-by: Nicolas Goaziou --- gnu/packages/crates-graphics.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) 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 @@ (define-public rust-lyon-path-0.17 "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")