1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/data/fonts/baekmuk-ttf/default.nix
2017-08-11 14:26:03 +00:00

23 lines
572 B
Nix

{ stdenv, fetchzip }:
fetchzip rec {
name = "baekmuk-ttf-2.2";
url = "http://kldp.net/baekmuk/release/865-${name}.tar.gz";
postFetch = ''
tar -xzvf $downloadedFile --strip-components=1
mkdir -p $out/share/fonts $out/share/doc/${name}
cp ttf/*.ttf $out/share/fonts
cp COPYRIGHT* $out/share/doc/${name}
'';
sha256 = "1jgsvack1l14q8lbcv4qhgbswi30mf045k37rl772hzcmx0r206g";
meta = {
description = "Korean font";
homepage = http://kldp.net/projects/baekmuk/;
license = "BSD-like";
platforms = stdenv.lib.platforms.linux;
};
}