nixpkgs/pkgs/data/fonts/tlwg/default.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

25 lines
682 B
Nix

{ lib, stdenv, fetchFromGitHub, autoreconfHook, autoconf-archive, fontforge }:
stdenv.mkDerivation rec {
pname = "tlwg";
version = "0.7.3";
src = fetchFromGitHub {
owner = "tlwg";
repo = "fonts-tlwg";
rev = "v${version}";
sha256 = "hWiH5KJnYTdcrm+Kzn9HUQry8ry3SKzjA6/0536kCLQ=";
};
nativeBuildInputs = [ autoreconfHook autoconf-archive ];
buildInputs = [ fontforge ];
meta = with lib; {
description = "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 ];
};
}