2014-09-03 09:05:20 +00:00
|
|
|
{ stdenv, fetchurl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "baekmuk-ttf-2.2";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2016-08-09 20:17:52 +00:00
|
|
|
url = "http://kldp.net/baekmuk/release/865-${name}.tar.gz";
|
2016-08-31 17:24:41 +00:00
|
|
|
sha256 = "10hqspl70h141ywz1smlzdanlx9vwgsp1qrcjk68fn2xnpzpvaq8";
|
2014-09-03 09:05:20 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
dontBuild = true;
|
|
|
|
|
|
|
|
installPhase = let
|
|
|
|
fonts_dir = "$out/share/fonts";
|
|
|
|
doc_dir = "$out/share/doc/${name}";
|
|
|
|
in ''
|
|
|
|
mkdir -pv ${fonts_dir}
|
|
|
|
mkdir -pv ${doc_dir}
|
|
|
|
cp ttf/*.ttf ${fonts_dir}
|
|
|
|
cp COPYRIGHT* ${doc_dir}
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Korean font";
|
2017-08-01 20:03:30 +00:00
|
|
|
homepage = http://kldp.net/projects/baekmuk/;
|
2014-09-03 09:05:20 +00:00
|
|
|
license = "BSD-like";
|
2016-08-02 17:50:55 +00:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2014-09-03 09:05:20 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|