blob: a59bc0978cb46df0b33f3bd72ce426b99ccc66c9 (
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
|
{
lib,
stdenvNoCC,
fetchFromGitHub,
installFonts,
}:
stdenvNoCC.mkDerivation {
pname = "oswald";
version = "4.103";
outputs = [
"out"
"webfont"
];
src = fetchFromGitHub {
owner = "googlefonts";
repo = "OswaldFont";
rev = "89795261ac9eeb9aa8cd99f43982c4e4b0e53261";
hash = "sha256-yoUduWHuuKDQaJnQ+CgeMw1vp2lgn/OVPokSDzEU7yk=";
};
nativeBuildInputs = [ installFonts ];
preInstall = "rm -r legacy/";
installPhase = ''
runHook preInstall
runHook postInstall
'';
meta = {
description = "Reworking of the classic gothic typeface style";
longDescription = ''
Oswald is a reworking of the classic gothic typeface style
historically represented by designs such as 'Alternate Gothic'.
The characters of Oswald have been re-drawn and reformed to
better fit the pixel grid of standard digital screens.
'';
homepage = "https://github.com/googlefonts/OswaldFont";
license = lib.licenses.ofl;
platforms = lib.platforms.all;
maintainers = with lib.maintainers; [ mimvoid ];
};
}
|