2021-01-11 08:54:33 +01:00
|
|
|
{ lib, stdenv, fetchFromGitHub, autoreconfHook, fontforge }:
|
2017-11-28 13:43:08 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "tlwg";
|
2017-11-28 13:43:08 +01:00
|
|
|
version = "0.6.4";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "tlwg";
|
|
|
|
repo = "fonts-tlwg";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "13bx98ygyyizb15ybdv3856lkxhx1fss8f7aiqmp0lk9zgw4mqyk";
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
|
|
|
|
|
|
buildInputs = [ fontforge ];
|
|
|
|
|
|
|
|
preAutoreconf = "echo ${version} > VERSION";
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2017-11-28 13:43:08 +01:00
|
|
|
description = "A collection of Thai scalable fonts available under free licenses";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://linux.thai.net/projects/fonts-tlwg";
|
2017-11-28 13:43:08 +01:00
|
|
|
license = with licenses; [ gpl2 publicDomain lppl13c free ];
|
|
|
|
maintainers = [ maintainers.yrashk ];
|
|
|
|
};
|
|
|
|
}
|