Skip to content

Commit

Permalink
tlwg: init at 0.6.4 (#32133)
Browse files Browse the repository at this point in the history
A collection of Thai scalable fonts available under free licenses
  • Loading branch information
yrashk authored and Mic92 committed Nov 28, 2017
1 parent ec622a9 commit 3314e18
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
27 changes: 27 additions & 0 deletions pkgs/data/fonts/tlwg/default.nix
@@ -0,0 +1,27 @@
{ 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 ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Expand Up @@ -20039,4 +20039,6 @@ with pkgs;
};

wal-g = callPackage ../tools/backup/wal-g {};

tlwg = callPackage ../data/fonts/tlwg { };
}

0 comments on commit 3314e18

Please sign in to comment.