diff options
author | David Worms <david@adaltas.com> | 2022-03-28 18:18:05 +0200 |
---|---|---|
committer | David Worms <david@adaltas.com> | 2022-03-28 18:24:00 +0200 |
commit | c1a3665786ab5670a94953fa2b3801bfe72e9ea0 (patch) | |
tree | 6ea16030814ac55354356b5e285cdd0e7ee01aac /pkgs/data/fonts | |
parent | 5aa404988981d9c4347e25da5e7aa6301e26810b (diff) |
dancing-script: init at 2.0
Notes, version is coming from the .glyphs source file and is called 2.000 in the readme https://raw.githubusercontent.com/impallari/DancingScript/master/sources/DancingScript.glyphs
Diffstat (limited to 'pkgs/data/fonts')
-rw-r--r-- | pkgs/data/fonts/dancing-script/default.nix | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/data/fonts/dancing-script/default.nix b/pkgs/data/fonts/dancing-script/default.nix new file mode 100644 index 0000000000000..5129f4bc5a5ec --- /dev/null +++ b/pkgs/data/fonts/dancing-script/default.nix @@ -0,0 +1,27 @@ +{ lib, fetchFromGitHub }: + +let + pname = "dancing-script"; + version = "2.0"; +in fetchFromGitHub { + name = "${pname}-${version}"; + + owner = "impallari"; + repo = "DancingScript"; + rev = "f7f54bc1b8836601dae8696666bfacd306f77e34"; + sha256 = "dfFvh8h+oMhAQL9XKMrNr07VUkdQdxAsA8+q27KWWCA="; + + postFetch = '' + tar xf $downloadedFile --strip=1 + install -m444 -Dt $out/share/fonts/truetype fonts/ttf/*.ttf + ''; + + meta = with lib; { + description = "Dancing Script"; + longDescription = "A lively casual script where the letters bounce and change size slightly."; + homepage = "https://github.com/impallari/DancingScript"; + license = licenses.ofl; + platforms = platforms.all; + maintainers = with maintainers; [ wdavidw ]; + }; +} |