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

29 lines
780 B
Nix

{ lib, stdenvNoCC, fetchzip }:
stdenvNoCC.mkDerivation rec {
pname = "nanum-gothic-coding";
version = "2.5";
src = fetchzip {
url = "https://github.com/naver/nanumfont/releases/download/VER${version}/NanumGothicCoding-${version}.zip";
stripRoot = false;
hash = "sha256-jHbbCMUxn54iQMKdAWI3r8CDxi+5LLJh8ucQzq2Ukdc=";
};
installPhase = ''
runHook preInstall
mkdir -p $out/share/fonts/NanumGothicCoding
cp *.ttf $out/share/fonts/NanumGothicCoding
runHook postInstall
'';
meta = with lib; {
description = "A contemporary monospaced sans-serif typeface with a warm touch";
homepage = "https://github.com/naver/nanumfont";
license = licenses.ofl;
platforms = platforms.all;
maintainers = with maintainers; [ ];
};
}