diff options
author | Yurii Rashkovskii <yrashk@gmail.com> | 2017-11-28 19:43:08 +0700 |
---|---|---|
committer | Jörg Thalheim <Mic92@users.noreply.github.com> | 2017-11-28 12:43:08 +0000 |
commit | 3314e18a3925863d2ca4154340bf88e64178e54e (patch) | |
tree | a8959bd50eb71bfadd3bcc78edc2966e0846ba14 /pkgs/data | |
parent | ec622a9b3807f5d952664c27e41056880833a628 (diff) |
tlwg: init at 0.6.4 (#32133)
A collection of Thai scalable fonts available under free licenses
Diffstat (limited to 'pkgs/data')
-rw-r--r-- | pkgs/data/fonts/tlwg/default.nix | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/data/fonts/tlwg/default.nix b/pkgs/data/fonts/tlwg/default.nix new file mode 100644 index 0000000000000..90f1b1da908aa --- /dev/null +++ b/pkgs/data/fonts/tlwg/default.nix @@ -0,0 +1,27 @@ +{ stdenv, fetchFromGitHub, autoreconfHook, fontforge }: + +stdenv.mkDerivation rec { + name = "tlwg-${version}"; + version = "0.6.4"; + + src = fetchFromGitHub { + owner = "tlwg"; + repo = "fonts-tlwg"; + rev = "v${version}"; + sha256 = "13bx98ygyyizb15ybdv3856lkxhx1fss8f7aiqmp0lk9zgw4mqyk"; + }; + + nativeBuildInputs = [ autoreconfHook ]; + + buildInputs = [ fontforge ]; + + preAutoreconf = "echo ${version} > VERSION"; + + meta = with stdenv.lib; { + description = "A collection of Thai scalable fonts available under free licenses"; + homepage = https://linux.thai.net/projects/fonts-tlwg; + license = with licenses; [ gpl2 publicDomain lppl13c free ]; + platforms = platforms.unix; + maintainers = [ maintainers.yrashk ]; + }; +} |