1{ lib, stdenvNoCC, fetchzip }:
2
3stdenvNoCC.mkDerivation rec {
4 pname = "ankacoder";
5 version = "1.100";
6
7 src = fetchzip {
8 url = "https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/anka-coder-fonts/AnkaCoder.${version}.zip";
9 stripRoot = false;
10 hash = "sha256-14ItaSQ/fO/WDq0O4SXGWnZgiM0kayJrWQgsKb7bsyY=";
11 };
12
13 installPhase = ''
14 runHook preInstall
15
16 mkdir -p $out/share/fonts/truetype
17 cp *.ttf $out/share/fonts/truetype
18
19 runHook postInstall
20 '';
21
22 meta = with lib; {
23 description = "Anka/Coder fonts";
24 homepage = "https://code.google.com/archive/p/anka-coder-fonts";
25 license = licenses.ofl;
26 maintainers = with maintainers; [ dtzWill ];
27 platforms = platforms.all;
28 };
29}