2014-09-03 11:05:20 +02:00
|
|
|
{ stdenv, fetchurl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "baekmuk-ttf-2.2";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2016-08-09 22:17:52 +02:00
|
|
|
url = "http://kldp.net/baekmuk/release/865-${name}.tar.gz";
|
2016-08-31 19:24:41 +02:00
|
|
|
sha256 = "10hqspl70h141ywz1smlzdanlx9vwgsp1qrcjk68fn2xnpzpvaq8";
|
2014-09-03 11:05:20 +02: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";
|
|
|
|
homepage = "http://kldp.net/projects/baekmuk/";
|
|
|
|
license = "BSD-like";
|
2016-08-02 19:50:55 +02:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2014-09-03 11:05:20 +02:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|