about summary refs log tree commit diff
path: root/pkgs/data/fonts/baekmuk-ttf/default.nix
blob: 497b9bb9cb03a489902e8a2086580283c45d8b39 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ stdenvNoCC, fetchurl }:

stdenvNoCC.mkDerivation rec {
  pname = "baekmuk-ttf";
  version = "2.2";

  src = fetchurl {
    url = "http://kldp.net/baekmuk/release/865-${pname}-${version}.tar.gz";
    hash = "sha256-CKt9/7VdWIfMlCzjcPXjO3VqVfu06vC5DyRAcOjVGII=";
  };

  installPhase = ''
    runHook preInstall

    install -m444 -Dt $out/share/fonts        ttf/*.ttf
    install -m444 -Dt $out/share/doc/${pname}-${version}  COPYRIGHT*

    runHook postInstall
  '';

  meta = {
    description = "Korean font";
    homepage = "http://kldp.net/projects/baekmuk/";
    license = "BSD-like";
  };
}