nixpkgs/pkgs/data/fonts/tlwg/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

27 lines
705 B
Nix

{ stdenv, fetchFromGitHub, autoreconfHook, fontforge }:
stdenv.mkDerivation rec {
pname = "tlwg";
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 ];
maintainers = [ maintainers.yrashk ];
};
}