aboutsummaryrefslogtreecommitdiffstats
path: root/oni/packages/fonts.scm
blob: 906dfdfd085ad7bab02c53a43f033be089bd4440 (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
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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
(define-module (oni packages fonts)
  #:use-module ((guix licenses) #:prefix license:)
  #:use-module (gnu packages compression)
  #:use-module (guix build utils)
  #:use-module (guix build-system copy)
  #:use-module (guix build-system font)
  #:use-module (guix build font-build-system)
  #:use-module (guix download)
  #:use-module (guix gexp)
  #:use-module (guix packages)
  #:use-module (guix utils))

(define-public font-comfortaa
  (package
    (name "font-comfortaa")
    (version "1.7")
    (source
     (origin
       (method url-fetch)
       (uri "https://www.1001fonts.com/download/comfortaa.zip")
       (sha256
        (base32 "1afrk347lxhd2p9dq84nhbl26553wpkwz74nqnqf44xxpzwnvl3m"))))
    (build-system font-build-system)
    (home-page "https://www.deviantart.com/aajohan/art/Comfortaa-font-105395949")
    (synopsis "Very simple, rounded, sans serif family")
    (description
     "Comfortaa is a very simple, rounded, sans serif family.
The lighter weights are minimalist.  The bolder weights have more personality.
The medium weight is nice and balanced.  The overall result is a family
that's clean and modern, and can express a wide range of voices & feelings.
It comes in 7 incremental weights:
ExtraLight, Light, Book, Medium, Semibold, Bold & ExtraBold")
    (license license:silofl1.1)))

(define-public font-nerd-font-fantasquesansmono
  (package
	(name "font-nerd-font-fantasquesansmono")
	(version "3.4.0")
	(source
     (origin
       (method url-fetch)
       (uri
        "https://github.com/ryanoasis/nerd-fonts/releases/download//v3.4.0/FantasqueSansMono.tar.xz")
       (sha256
        (base32 "1z8ggmarbw6yjj835vmc02w4j07xkkfnrsylvq6mdf2z8y858as6"))))
	(build-system font-build-system)
	(license license:expat)
	(home-page "https://www.nerdfonts.com/")
	(synopsis "Iconic font aggregator, collection, & patcher. 3,600+ icons,\n50+ patched fonts:
Hack, Source Code Pro, more. Glyph collections: Font\nAwesome, Material Design
Icons, Octicons, & more")
	(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.")))

(define-public font-annotation-mono
  (package
	(name "font-annotation-mono")
	(version "0.2")
	(source
     (origin
       (method url-fetch)
       (uri
        "https://github.com/qwerasd205/AnnotationMono/releases/download/v0.2/AnnotationMono_v0.2.zip")
       (sha256 (base32 "0q7rvlrlqcq3qfqkmqcgr5rw82zxkgvm4xzn6kys8bj70x9d0h07"))))
	(build-system copy-build-system)
    (arguments
     (list
      #:install-plan
      #~'(("dist/otf" "share/fonts/opentype")
          ("dist/ttf" "share/fonts/truetype")
          ("dist/variable" "share/fonts/truetype"))
      #:phases
      #~(modify-phases %standard-phases
          (replace 'install
            (lambda* (#:key outputs #:allow-other-keys)
              (let* ((out (assoc-ref outputs "out"))
                     (out-ttf (string-append out "/share/fonts/truetype"))
                     (out-otf (string-append out "/share/fonts/opentype")))
                (mkdir-p out-ttf)
                (mkdir-p out-otf)
                (install-file "../dist/ttf/Black_Oblique.ttf" out-ttf)
                (install-file "../dist/ttf/Black.ttf" out-ttf)
                (install-file "../dist/ttf/Bold_Oblique.ttf" out-ttf)
                (install-file "../dist/ttf/Bold.ttf" out-ttf)
                (install-file "../dist/ttf/DemiBold_Oblique.ttf" out-ttf)
                (install-file "../dist/ttf/DemiBold.ttf" out-ttf)
                (install-file "../dist/ttf/ExtraBlack_Oblique.ttf" out-ttf)
                (install-file "../dist/ttf/ExtraBlack.ttf" out-ttf)
                (install-file "../dist/ttf/ExtraBold_Oblique.ttf" out-ttf)
                (install-file "../dist/ttf/ExtraBold.ttf" out-ttf)
                (install-file "../dist/ttf/ExtraLight_Oblique.ttf" out-ttf)
                (install-file "../dist/ttf/ExtraLight.ttf" out-ttf)
                (install-file "../dist/ttf/Light_Oblique.ttf" out-ttf)
                (install-file "../dist/ttf/Light.ttf" out-ttf)
                (install-file "../dist/ttf/Medium_Oblique.ttf" out-ttf)
                (install-file "../dist/ttf/Medium.ttf" out-ttf)
                (install-file "../dist/ttf/Regular_Oblique.ttf" out-ttf)
                (install-file "../dist/ttf/Regular.ttf" out-ttf)
                (install-file "../dist/ttf/Thin_Oblique.ttf" out-ttf)
                (install-file "../dist/ttf/Thin.ttf" out-ttf)
                (install-file "../dist/otf/Black_Oblique.otf" out-otf)
                (install-file "../dist/otf/Black.otf" out-otf)
                (install-file "../dist/otf/Bold_Oblique.otf" out-otf)
                (install-file "../dist/otf/Bold.otf" out-otf)
                (install-file "../dist/otf/DemiBold_Oblique.otf" out-otf)
                (install-file "../dist/otf/DemiBold.otf" out-otf)
                (install-file "../dist/otf/ExtraBlack_Oblique.otf" out-otf)
                (install-file "../dist/otf/ExtraBlack.otf" out-otf)
                (install-file "../dist/otf/ExtraBold_Oblique.otf" out-otf)
                (install-file "../dist/otf/ExtraBold.otf" out-otf)
                (install-file "../dist/otf/ExtraLight_Oblique.otf" out-otf)
                (install-file "../dist/otf/ExtraLight.otf" out-otf)
                (install-file "../dist/otf/Light_Oblique.otf" out-otf)
                (install-file "../dist/otf/Light.otf" out-otf)
                (install-file "../dist/otf/Medium_Oblique.otf" out-otf)
                (install-file "../dist/otf/Medium.otf" out-otf)
                (install-file "../dist/otf/Regular_Oblique.otf" out-otf)
                (install-file "../dist/otf/Regular.otf" out-otf)
                (install-file "../dist/otf/Thin_Oblique.otf" out-otf)
                (install-file "../dist/otf/Thin.otf" out-otf)))))))
    (native-inputs (list unzip))
	(license license:silofl1.1)
	(home-page "https://www.nerdfonts.com/")
	(synopsis "A lovingly crafted handwriting-style monospace font.")
	(description "Annotation Mono is a lovingly crafted handwriting-style monospace font.

Annotation Mono is an idealized handwriting; using letter forms inspired by monospace bitmap fonts, legibility is maximized while retaining a hand-written character.

Its variable weights make Annotation Mono ideal for a wide variety of use cases
other than code, including labels and headings. Given its hand-written look, you
could even use it for comic lettering if you want.")))