Unverified Commit 890a64a8 authored by Naïm Favier's avatar Naïm Favier Committed by GitHub
Browse files

Merge pull request #203014 from ncfavier/tlwg

parents 91f186ba 81524e26
Loading
Loading
Loading
Loading
+4 −6
Original line number Diff line number Diff line
{ lib, stdenv, fetchFromGitHub, autoreconfHook, fontforge }:
{ lib, stdenv, fetchFromGitHub, autoreconfHook, autoconf-archive, fontforge }:

stdenv.mkDerivation rec {
  pname = "tlwg";
  version = "0.6.4";
  version = "0.7.3";

  src = fetchFromGitHub {
    owner = "tlwg";
    repo = "fonts-tlwg";
    rev = "v${version}";
    sha256 = "13bx98ygyyizb15ybdv3856lkxhx1fss8f7aiqmp0lk9zgw4mqyk";
    sha256 = "hWiH5KJnYTdcrm+Kzn9HUQry8ry3SKzjA6/0536kCLQ=";
  };

  nativeBuildInputs = [ autoreconfHook ];
  nativeBuildInputs = [ autoreconfHook autoconf-archive ];

  buildInputs = [ fontforge ];

  preAutoreconf = "echo ${version} > VERSION";

  meta = with lib; {
    description = "A collection of Thai scalable fonts available under free licenses";
    homepage = "https://linux.thai.net/projects/fonts-tlwg";