efraim pushed a commit to branch rust-team
in repository guix.
commit 7a034041f74d42468a712cce254e76c5bb5e6a05
Author: Efraim Flashner <[email protected]>
AuthorDate: Wed Dec 4 14:54:17 2024 +0200
gnu: Add rust-owned-ttf-parser-0.25.
* gnu/packages/crates-io.scm (rust-owned-ttf-parser-0.25): New variable.
(rust-owned-ttf-parser-0.19): Inherit from rust-owned-ttf-parser-0.25.
Change-Id: I1c067c2f3b98a101ca9f5f18838c8794881bf3a9
---
gnu/packages/crates-io.scm | 29 ++++++++++++++++++++++-------
1 file changed, 22 insertions(+), 7 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 728369532b..69ad97be5b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -53536,8 +53536,29 @@ platform-native strings.")
"This package provides a macro to simplify operator overloading.")
(license license:expat)))
+(define-public rust-owned-ttf-parser-0.25
+ (package
+ (name "rust-owned-ttf-parser")
+ (version "0.25.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "owned_ttf_parser" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1i5jhazmm87nf8wbqm76vjvncmcv28ghpqm4170q2aivpydp3v12"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-ttf-parser" ,rust-ttf-parser-0.25))))
+ (home-page "https://github.com/alexheretic/owned-ttf-parser")
+ (synopsis "Ttf-parser plus support for owned data")
+ (description
+ "This package provides a ttf-parser plus support for owned data.")
+ (license license:asl2.0)))
+
(define-public rust-owned-ttf-parser-0.19
(package
+ (inherit rust-owned-ttf-parser-0.25)
(name "rust-owned-ttf-parser")
(version "0.19.0")
(source (origin
@@ -53547,14 +53568,8 @@ platform-native strings.")
(sha256
(base32
"192v6mjgy2fv7z8n7wm6548pikngcc293l9qh8xdc4s147iffvbh"))))
- (build-system cargo-build-system)
(arguments
- `(#:cargo-inputs (("rust-ttf-parser" ,rust-ttf-parser-0.19))))
- (home-page "https://github.com/alexheretic/owned-ttf-parser")
- (synopsis "Ttf-parser plus support for owned data")
- (description
- "This package provides a ttf-parser plus support for owned data.")
- (license license:asl2.0)))
+ `(#:cargo-inputs (("rust-ttf-parser" ,rust-ttf-parser-0.19))))))
(define-public rust-owo-colors-4
(package