nixpkgs/pkgs/data/fonts/nanum-gothic-coding/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

30 lines
780 B
Nix
Raw Normal View History

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