2023-02-02 18:25:31 +00:00
|
|
|
{ lib, stdenvNoCC, fetchurl }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
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
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
install -m444 -Dt $out/share/fonts ttf/*.ttf
|
2023-02-02 18:25:31 +00:00
|
|
|
install -m444 -Dt $out/share/doc/${pname}-${version} COPYRIGHT*
|
|
|
|
|
|
|
|
runHook postInstall
|
2020-04-24 23:36:52 +00:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Korean font";
|
|
|
|
homepage = "http://kldp.net/projects/baekmuk/";
|
|
|
|
license = "BSD-like";
|
|
|
|
};
|
|
|
|
}
|