diff options
author | Serge Belov <sb@canva.com> | 2022-04-26 14:14:44 +1000 |
---|---|---|
committer | Serge Belov <sb@canva.com> | 2022-04-27 09:00:08 +1000 |
commit | 9c7c44c37651e92ddf011ace2c39bb3ec681b4a0 (patch) | |
tree | 17446ee15b1866f600795f9db67084702d15410b /pkgs/data/fonts | |
parent | 2975ad119528863d4bdb28bc160c9072e39b1c02 (diff) |
lklug-sinhala: init at 0.6
Diffstat (limited to 'pkgs/data/fonts')
-rw-r--r-- | pkgs/data/fonts/lklug-sinhala/default.nix | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/data/fonts/lklug-sinhala/default.nix b/pkgs/data/fonts/lklug-sinhala/default.nix new file mode 100644 index 0000000000000..45f907f1cf079 --- /dev/null +++ b/pkgs/data/fonts/lklug-sinhala/default.nix @@ -0,0 +1,23 @@ +{ fetchzip, lib }: + +let + version = "0.6"; +in +fetchzip { + name = "lklug-sinhala-${version}"; + url = "mirror://debian/pool/main/f/fonts-lklug-sinhala/fonts-lklug-sinhala_${version}.orig.tar.xz"; + sha256 = "sha256-Fy+QnAajA4yLf/I1vOQll5pRd0ZLfLe8UXq4XMC9qNc="; + + postFetch = '' + mkdir -p $out/share/fonts + tar xf $downloadedFile --strip-components=1 -C $out/share/fonts fonts-lklug-sinhala-${version}/lklug.ttf + ''; + + meta = with lib; { + description = "Unicode Sinhala font by Lanka Linux User Group"; + homepage = "http://www.lug.lk/fonts/lklug"; + license = licenses.gpl2Plus; + maintainers = with lib.maintainers; [ serge ]; + platforms = platforms.all; + }; +} |