From de40cd388020ba55188743ac73683d36f10290f2 Mon Sep 17 00:00:00 2001 From: Petr Hodina Date: Tue, 11 Jan 2022 01:12:57 +0100 Subject: [PATCH 5/8] gnu: Add rust-lyon-svg-0.17. * gnu/packages/crates-graphics.scm (rust-lyon-svg-0.17): New variable. diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm index 8f957dbbcd..c8d1cb89bc 100644 --- a/gnu/packages/crates-graphics.scm +++ b/gnu/packages/crates-graphics.scm @@ -1512,6 +1512,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") -- 2.34.0