Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
A collection of Thai scalable fonts available under free licenses
- Loading branch information
Showing
2 changed files
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 ]; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20039,4 +20039,6 @@ with pkgs; | |
}; | ||
|
||
wal-g = callPackage ../tools/backup/wal-g {}; | ||
|
||
tlwg = callPackage ../data/fonts/tlwg { }; | ||
} |