This commit is contained in:
Daniel Ziltener 2023-12-12 20:57:04 +01:00
parent e58e3f64ee
commit 4014f69a14
Signed by: zilti
GPG key ID: B38976E82C9DAE42

70
zilti/packages/fonts.scm Normal file
View file

@ -0,0 +1,70 @@
(define-module (zilti packages fonts)
#:use-module (ice-9 regex)
#:use-module (guix utils)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix gexp)
#:use-module (guix git-download)
#:use-module (guix build-system font)
#:use-module (guix build-system gnu)
#:use-module (guix build-system meson)
#:use-module (guix build-system trivial)
#:use-module (gnu packages c)
#:use-module (gnu packages base)
#:use-module (gnu packages bash)
#:use-module (gnu packages compression)
#:use-module (gnu packages fontutils)
#:use-module (gnu packages gd)
#:use-module (gnu packages gettext)
#:use-module (gnu packages glib)
#:use-module (gnu packages gtk)
#:use-module (gnu packages perl)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages python)
#:use-module (gnu packages python-xyz)
#:use-module (gnu packages sdl)
#:use-module (gnu packages xorg))
(define-public font-monaspace
(package
(name "font-monaspace")
(version "1.000")
(source
(origin
(method url-fetch/zipbomb)
(uri (string-append "https://github.com/githubnext/monaspace/releases/"
"download/v" version "/monaspace-v" version ".zip"))
(sha256
(base32 "1xn80c1jglgl1dklk967lkv9gmx2ikhhh36y3y2izjmfs1pkf21y"))))
(build-system font-build-system)
(home-page "https://github.com/githubnext/monaspace")
(synopsis "The Monaspace type system is a monospaced type superfamily with some modern tricks up
its sleeve.")
(description
"The Monaspace type system is a monospaced type superfamily with some modern tricks up its
sleeve. It consists of five variable axis typefaces. Each one has a distinct voice, but they are all
metrics-compatible with one another, allowing you to mix and match them for a more expressive
typographical palette.")
(license license:silofl1.1)))
(define-public font-nerdfont-monaspice
(package
(name "font-nerdfont-monaspice")
(version "3.1.1")
(source
(origin
(method url-fetch/zipbomb)
(uri (string-append "https://github.com/ryanoasis/nerd-fonts/releases/"
"download/v" version "/Monaspace.zip"))
(sha256
(base32 "0y9y7snyrr30z75kxz2zgh6q6hizcbzsf41xv6gxh97bm1dr2j82"))))
(build-system font-build-system)
(home-page "https://github.com/ryanoasis/nerd-fonts")
(synopsis "The Monaspace type system is a monospaced type superfamily with some modern tricks up
its sleeve.")
(description
"Nerd Fonts is a project that patches developer targeted fonts with a high number of
glyphs (icons). Specifically to add a high number of extra glyphs from popular 'iconic fonts' such
as Font Awesome, Devicons, Octicons, and others.")
(license license:expat)))