From b2f01530dda9d64f0cd454d4e8a6c5eff0547be4 Mon Sep 17 00:00:00 2001 From: Kurome Date: Fri, 11 Apr 2025 21:26:36 +0900 Subject: nongnu: Add font-ubuntu. * nongnu/packages/fonts.scm (font-ubuntu): New variable. Signed-off-by: Hilton Chain --- nongnu/packages/fonts.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) (limited to 'nongnu/packages') diff --git a/nongnu/packages/fonts.scm b/nongnu/packages/fonts.scm index e12ba0c..bdc02cd 100644 --- a/nongnu/packages/fonts.scm +++ b/nongnu/packages/fonts.scm @@ -2,6 +2,7 @@ ;;; Copyright © 2021 Korytov Pavel ;;; Copyright © 2021 Jonathan Brielmaier ;;; Copyright © 2023 Krzysztof Baranowski +;;; Copyright © 2025 Kurome (define-module (nongnu packages fonts) #:use-module (ice-9 string-fun) @@ -344,3 +345,30 @@ characters defined as symbols in the Unicode Standard.") (base32 "1gmr7f9vqh2g5bamcrpzd9wzywchx4q3kajw4njcp3qqm7vld8ii")))) (arguments '()))) + +(define-public font-ubuntu + (package + (name "font-ubuntu") + (version "0.83") + (source + (origin + (method url-fetch) + (uri (string-append + "https://assets.ubuntu.com/v1/fad7939b-ubuntu-font-family-" + version ".zip")) + (sha256 + (base32 "0hjvq2x758dx0sfwqhzflns0ns035qm7h6ygskbx1svzg517sva5")))) + (build-system font-build-system) + (home-page "https://design.ubuntu.com/font/") + (synopsis "Ubuntu font family") + (description + "The Ubuntu font family is a sans-serif typeface family available in 22 +styles plus a variable font with adjustable weight and width axes. Its +fixed-width companion, Ubuntu Mono, comes in 8 styles and a variable font with +an adjustable weight axis.") + ;; Ubuntu Font License is used. This license is considered non-free by Debian + ;; and Fedora, so probably not compatible with GNU FSDG. + ;; + ;; https://bugs.launchpad.net/ubuntu-font-licence/+bug/769874 + ;; https://bugzilla.redhat.com/show_bug.cgi?id=961642#c4 + (license (nonfree "https://ubuntu.com/legal/font-licence")))) -- cgit v1.2.3