diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-01-29 23:18:38 +0100 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-01-31 09:50:36 +0100 |
commit | eb3e53568cba73a6764ea981205b20cb623564a2 (patch) | |
tree | 345287c961533a15bac2d2b3028533b26a5d3c8e | |
parent | 1d127ccba5ee17f031f69eac671ac6a652c16351 (diff) | |
download | guix-eb3e53568cba73a6764ea981205b20cb623564a2.tar guix-eb3e53568cba73a6764ea981205b20cb623564a2.tar.gz |
gnu: Add rust-servo-fontconfig-sys-5.
* gnu/packages/crates-io.scm (rust-servo-fontconfig-sys-5): New variable.
(rust-servo-fontconfig-sys-4): Inherit from above.
-rw-r--r-- | gnu/packages/crates-io.scm | 33 |
1 files changed, 26 insertions, 7 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 09596628f2..7e7360b421 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -31915,8 +31915,33 @@ functionality and without weak references.") (description "This package provides Rust bindings for fontconfig.") (license (list license:expat license:asl2.0)))) +(define-public rust-servo-fontconfig-sys-5 + (package + (name "rust-servo-fontconfig-sys") + (version "5.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "servo-fontconfig-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "125k4hydb4w08568rgazh95n6haxhf5c78axz50glbc9p6fqfsz3")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-expat-sys" ,rust-expat-sys-2) + ("rust-freetype-sys" ,rust-freetype-sys-0.13) + ("rust-pkg-config" ,rust-pkg-config-0.3)))) + (home-page "https://crates.io/crates/servo-fontconfig-sys") + (synopsis "Rust wrapper around Fontconfig") + (description + "This package provides a Rust wrapper around Fontxonfig.") + (license license:expat))) + (define-public rust-servo-fontconfig-sys-4 (package + (inherit rust-servo-fontconfig-sys-5) (name "rust-servo-fontconfig-sys") (version "4.0.9") (source @@ -31934,7 +31959,6 @@ functionality and without weak references.") (for-each delete-file-recursively (find-files "." "[^Cargo.toml,^build\\.rs]")) #t)))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-expat-sys" ,rust-expat-sys-2) @@ -31943,12 +31967,7 @@ functionality and without weak references.") (native-inputs `(("pkg-config" ,pkg-config))) (inputs - `(("fontconfig" ,fontconfig))) - (home-page "https://crates.io/crates/servo-fontconfig-sys") - (synopsis "Rust wrapper around Fontconfig") - (description - "This package provides a Rust wrapper around Fontxonfig.") - (license license:mpl2.0))) ; build.rs is mpl2.0 + `(("fontconfig" ,fontconfig))))) (define-public rust-servo-freetype-sys-4 (package |