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