blob: 4faf31b34b73e5a7d6c0fc1a4c365b5cb00170f4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
(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)))
(define-public font-inter
(package
(name "font-inter")
(version "4.1")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/rsms/inter")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"1g54vl3jkpan0s1mzrb1s8zjqzy9787ffjg9sfy6yjy4k3qg8xhx"))))
(build-system font-build-system)
(home-page "https://rsms.me/inter/")
(synopsis "The Inter font family")
(description
"Inter is a typeface carefully crafted & designed for computer screens. Inter features a tall x-height to aid in readability of mixed-case and lower-case text. Inter is a variable font with several OpenType features, like contextual alternates that adjusts punctuation depending on the shape of surrounding glyphs, slashed zero for when you need to disambiguate \"0\" from \"o\", tabular numbers, etc.")
(license licenses:expat)))
|