lol
1{ lib, fetchFromGitHub }:
2
3let
4 pname = "dancing-script";
5 version = "2.0";
6in fetchFromGitHub {
7 name = "${pname}-${version}";
8
9 owner = "impallari";
10 repo = "DancingScript";
11 rev = "f7f54bc1b8836601dae8696666bfacd306f77e34";
12 sha256 = "dfFvh8h+oMhAQL9XKMrNr07VUkdQdxAsA8+q27KWWCA=";
13
14 postFetch = ''
15 tar xf $downloadedFile --strip=1
16 install -m444 -Dt $out/share/fonts/truetype fonts/ttf/*.ttf
17 '';
18
19 meta = with lib; {
20 description = "Dancing Script";
21 longDescription = "A lively casual script where the letters bounce and change size slightly.";
22 homepage = "https://github.com/impallari/DancingScript";
23 license = licenses.ofl;
24 platforms = platforms.all;
25 maintainers = with maintainers; [ wdavidw ];
26 };
27}