@@ -0,0 +1,27 @@
1+{ lib, fetchFromGitHub }:
2+
3+let
4+ pname = "TT2020";
5+ version = "2020-01-05";
6+in
7+fetchFromGitHub {
8+ name = "${pname}-${version}";
9+ owner = "ctrlcctrlv";
10+ repo = pname;
11+ rev = "2b418fab5f99f72a18b3b2e7e2745ac4e03aa612";
12+ sha256 = "1z0nizvs0gp0xl7pn6xcjvsysxhnfm7aqfamplkyvya3fxvhncds";
13+
14+ postFetch = ''
15+ tar xf $downloadedFile --strip=1
16+ install -Dm644 -t $out/share/fonts/truetype dist/*.ttf
17+ install -Dm644 -t $out/share/fonts/woff2 dist/*.woff2
18+ '';
19+
20+ meta = with lib; {
21+ description = "An advanced, open source, hyperrealistic, multilingual typewriter font for a new decade";
22+ homepage = "https://ctrlcctrlv.github.io/TT2020";
23+ license = licenses.ofl;
24+ maintainers = with maintainers; [ sikmir ];
25+ platforms = platforms.all;
26+ };
27+}