nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 stdenv,
4 fetchFromGitHub,
5 autoreconfHook,
6 autoconf-archive,
7 fontforge,
8}:
9
10stdenv.mkDerivation rec {
11 pname = "tlwg";
12 version = "0.7.3";
13
14 src = fetchFromGitHub {
15 owner = "tlwg";
16 repo = "fonts-tlwg";
17 rev = "v${version}";
18 sha256 = "hWiH5KJnYTdcrm+Kzn9HUQry8ry3SKzjA6/0536kCLQ=";
19 };
20
21 nativeBuildInputs = [
22 autoreconfHook
23 autoconf-archive
24 ];
25
26 buildInputs = [ fontforge ];
27
28 meta = with lib; {
29 description = "Collection of Thai scalable fonts available under free licenses";
30 homepage = "https://linux.thai.net/projects/fonts-tlwg";
31 license = with licenses; [
32 gpl2
33 publicDomain
34 lppl13c
35 free
36 ];
37 maintainers = [ maintainers.yrashk ];
38 };
39}