diff options
author | Christopher R. Nelson <christopher.nelson@languidnights.com> | 2024-10-19 12:13:19 -0400 |
---|---|---|
committer | Christopher R. Nelson <christopher.nelson@languidnights.com> | 2024-10-19 12:17:18 -0400 |
commit | 20d32bd9d23e7a0a66030c465fec2a4f56e3d998 (patch) | |
tree | 2f371b8478371951e541e51b957c41ca23ecf3e4 /crn/packages/fonts.scm | |
parent | dd1a7eb49af493b7275c4b05e5c3054e8887bd91 (diff) |
Add nerd-fonts package, delete patchelf (merged)
Diffstat (limited to 'crn/packages/fonts.scm')
-rw-r--r-- | crn/packages/fonts.scm | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/crn/packages/fonts.scm b/crn/packages/fonts.scm new file mode 100644 index 0000000..cf2236f --- /dev/null +++ b/crn/packages/fonts.scm @@ -0,0 +1,40 @@ +(define-module (crn packages fonts) + #:use-module (guix gexp) + #:use-module (guix utils) + #:use-module (guix packages) + #:use-module (guix build-system font) + #:use-module (guix download) + #:use-module (guix git-download) + #:use-module ((guix licenses) #:prefix licenses:)) + +(define-public font-nerd-fonts + (package + (name "font-nerd-fonts") + (version "3.2.1") + (source (origin + (method url-fetch) + (uri (string-append + "https://github.com/ryanoasis/nerd-fonts/releases/download/v" + version + "/NerdFontsSymbolsOnly.tar.xz")) + (sha256 + (base32 + "0y4r1rid5sjd9ihi6nkwy0sja792aghg21bpl3ri029b9pifx8xp")))) + (build-system font-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-before 'install 'make-files-writable + (lambda _ + (for-each + make-file-writable + (find-files "." ".*\\.(otf|otc|ttf|ttc)$")) + #t))))) + (home-page "https://www.nerdfonts.com/") + (synopsis "Iconic font aggregator, collection, and patcher") + (description + "Nerd Fonts 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 licenses:expat))) |