1{
2 lib,
3 stdenvNoCC,
4 fetchFromGitHub,
5}:
6
7stdenvNoCC.mkDerivation {
8 pname = "dancing-script";
9 version = "2.0";
10
11 src = fetchFromGitHub {
12 owner = "impallari";
13 repo = "DancingScript";
14 rev = "f7f54bc1b8836601dae8696666bfacd306f77e34";
15 hash = "sha256-B9oAZFPH3dG/Nt5FfKfFVJYtfUKGK0AXNkQHRC7IgdU=";
16 };
17
18 installPhase = ''
19 runHook preInstall
20
21 install -m444 -Dt $out/share/fonts/truetype fonts/ttf/*.ttf
22
23 runHook postInstall
24 '';
25
26 meta = with lib; {
27 description = "Dancing Script";
28 longDescription = "A lively casual script where the letters bounce and change size slightly.";
29 homepage = "https://github.com/impallari/DancingScript";
30 license = licenses.ofl;
31 platforms = platforms.all;
32 maintainers = with maintainers; [ wdavidw ];
33 };
34}