Skip to content

Commit 3314e18

Browse files
yrashkMic92
authored andcommittedNov 28, 2017
tlwg: init at 0.6.4 (#32133)
A collection of Thai scalable fonts available under free licenses
1 parent ec622a9 commit 3314e18

File tree

2 files changed

+29
-0
lines changed

2 files changed

+29
-0
lines changed
 

‎pkgs/data/fonts/tlwg/default.nix

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{ stdenv, fetchFromGitHub, autoreconfHook, fontforge }:
2+
3+
stdenv.mkDerivation rec {
4+
name = "tlwg-${version}";
5+
version = "0.6.4";
6+
7+
src = fetchFromGitHub {
8+
owner = "tlwg";
9+
repo = "fonts-tlwg";
10+
rev = "v${version}";
11+
sha256 = "13bx98ygyyizb15ybdv3856lkxhx1fss8f7aiqmp0lk9zgw4mqyk";
12+
};
13+
14+
nativeBuildInputs = [ autoreconfHook ];
15+
16+
buildInputs = [ fontforge ];
17+
18+
preAutoreconf = "echo ${version} > VERSION";
19+
20+
meta = with stdenv.lib; {
21+
description = "A collection of Thai scalable fonts available under free licenses";
22+
homepage = https://linux.thai.net/projects/fonts-tlwg;
23+
license = with licenses; [ gpl2 publicDomain lppl13c free ];
24+
platforms = platforms.unix;
25+
maintainers = [ maintainers.yrashk ];
26+
};
27+
}

‎pkgs/top-level/all-packages.nix

+2
Original file line numberDiff line numberDiff line change
@@ -20039,4 +20039,6 @@ with pkgs;
2003920039
};
2004020040

2004120041
wal-g = callPackage ../tools/backup/wal-g {};
20042+
20043+
tlwg = callPackage ../data/fonts/tlwg { };
2004220044
}

0 commit comments

Comments
 (0)
Please sign in to comment.