depot/third_party/nixpkgs/pkgs/data/fonts/baekmuk-ttf/default.nix
Default email a0cb138ada Project import generated by Copybara.
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
2023-02-02 18:25:31 +00:00

26 lines
604 B
Nix

{ lib, 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";
};
}