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