acr-cli: init at 0.14 (#359508)
[NixPkgs.git] / pkgs / by-name / na / nanum-gothic-coding / package.nix
blobf27f487bd6abdd8f7191698fefe99298ad3d6e7b
1 { lib, stdenvNoCC, fetchzip }:
3 stdenvNoCC.mkDerivation rec {
4   pname = "nanum-gothic-coding";
5   version = "2.5";
7   src = fetchzip {
8     url = "https://github.com/naver/nanumfont/releases/download/VER${version}/NanumGothicCoding-${version}.zip";
9     stripRoot = false;
10     hash = "sha256-jHbbCMUxn54iQMKdAWI3r8CDxi+5LLJh8ucQzq2Ukdc=";
11   };
13   installPhase = ''
14     runHook preInstall
16     mkdir -p $out/share/fonts/NanumGothicCoding
17     cp *.ttf $out/share/fonts/NanumGothicCoding
19     runHook postInstall
20   '';
22   meta = with lib; {
23     description = "Contemporary monospaced sans-serif typeface with a warm touch";
24     homepage = "https://github.com/naver/nanumfont";
25     license = licenses.ofl;
26     platforms = platforms.all;
27     maintainers = [ ];
28   };