1 │ (define-module (bugchan packages font-nerd-fonts) 2 │ #:use-module (guix packages)
3 │ #:use-module (guix download)
4 │ #:use-module (guix build-system font)
5 │ #:use-module ((guix licenses) #:prefix license:))
6 │
7 │ (define-public font-jetbrainsmono-nerd-font
8 │ (let ((version "v3.2.1"))
9 │ (package
10 │ (name "font-jetbrainsmono-nerd-font")
11 │ (version version)
12 │ (source (origin
13 │ (method url-fetch)
│ load/" version "/JetBrainsMono.tar.xz"))
15 │ (sha256
16 │ (base32
17 │ "01j0rkgrix7mdp9fx0y8zzk1kh40yfcp932p0r5y666aq4mq5y3c"))))
18 │ (build-system font-build-system)
19 │ (arguments
20 │ `(#:phases
21 │ (modify-phases %standard-phases
22 │ (add-before 'install 'make-files-writable
23 │ (lambda _
24 │ (for-each
25 │ make-file-writable
26 │ (find-files "." ".*\\.(oft|otc|ttf|ttc) $"))
27 │ #t)))))
29 │ (synopsis "Iconic font aggregator, collection, and patcher")
30 │ (description
31 │ "Nerd Fonts patches developer targeted fonts with a high number
32 │ of glyphs (icons). Specifically to add a high number of extra glyphs
33 │ from popular ‘iconic fonts’ such as Font Awesome, Devicons, Octicons,
and others.")
(license license:expat))))