forked from jsoo1/guix-channel
-
Notifications
You must be signed in to change notification settings - Fork 1
/
fonts.scm
108 lines (105 loc) · 3.55 KB
/
fonts.scm
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
(define-module (fonts)
#:use-module ((gnu packages autotools) #:select (autoconf automake))
#:use-module ((gnu packages tex) #:select (texlive-bin))
#:use-module (guix packages)
#:use-module (guix git-download)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix build-system font)
#:use-module ((guix build-system gnu) #:select (gnu-build-system)))
(define-public font-nerd-fonts
(package
(name "font-nerd-fonts")
(version "2.0.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/ryanoasis/nerd-fonts")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32
"09i467hyskvzj2wn5sj6shvc9pb0a0rx5iknjkkkbg1ng3bla7nm"))))
(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 license:expat)))
(define-public font-font-awesome
(package
(name "font-font-awesome")
(version "5.11.2")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/FortAwesome/Font-Awesome")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32
"0ya14lgx5mgpjbnw6sss3a2c99n6cw6xryd0xj8rbjwbr2gmrf1q"))))
(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://fontawesome.com")
(synopsis "The iconic SVG, font, and CSS toolkit")
(description
"The internet's most popular icon toolkit has been redesigned and
built from scratch. On top of this, features like icon font ligatures,
an SVG framework, official NPM packages for popular frontend libraries
like React, and access to a new CDN.")
(license #f)))
(define-public lcdf-typetools
(package
(name "lcdf-typetools")
(version "2.108")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/kohler/lcdf-typetools")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"0a6jqaqwq43ldjjjlnsh6mczs2la9363qav7v9fyrfzkfj8kw9ad"))))
(inputs
`(("texlive-bin" ,texlive-bin)
("autoconf" ,autoconf)
("automake" ,automake)))
(build-system gnu-build-system)
(arguments
`(#:configure-flags
(list
(string-append
"--with-kpathsea="
(assoc-ref %build-inputs "texlive-bin")))))
(home-page "http://www.lcdf.org/type/")
(synopsis
"Utilities for manipulating various fonts")
(description
"LCDF Typetools comprises several programs for manipulating
PostScript Type 1, Type 1 Multiple Master, OpenType, and TrueType
fonts.")
(license license:gpl2+)))