nixpkgs/pkgs/data/fonts/baekmuk-ttf/default.nix

21 lines
506 B
Nix
Raw Normal View History

{ fetchzip }:
2017-08-10 20:43:49 +01:00
fetchzip rec {
name = "baekmuk-ttf-2.2";
2017-08-10 20:43:49 +01:00
url = "http://kldp.net/baekmuk/release/865-${name}.tar.gz";
postFetch = ''
tar -xzvf $downloadedFile --strip-components=1
install -m444 -Dt $out/share/fonts ttf/*.ttf
install -m444 -Dt $out/share/doc/${name} COPYRIGHT*
'';
2017-08-10 20:43:49 +01:00
sha256 = "1jgsvack1l14q8lbcv4qhgbswi30mf045k37rl772hzcmx0r206g";
meta = {
description = "Korean font";
homepage = "http://kldp.net/projects/baekmuk/";
license = "BSD-like";
};
}