1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 13:41:26 +00:00
nixpkgs/pkgs/data/fonts/tlwg/default.nix
Yurii Rashkovskii 3314e18a39 tlwg: init at 0.6.4 (#32133)
A collection of Thai scalable fonts available under free licenses
2017-11-28 12:43:08 +00:00

28 lines
747 B
Nix

{ 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 ];
};
}