Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at fix-function-merge 30 lines 756 B view raw
1{ lib, stdenvNoCC, fetchzip }: 2 3stdenvNoCC.mkDerivation rec { 4 pname = "ankacoder-condensed"; 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/AnkaCoderCondensed.${version}.zip"; 9 stripRoot = false; 10 hash = "sha256-NHrkV4Sb7i+DC4e4lToEYzah3pI+sKyYf2rGbhWj7iY="; 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 Condensed font"; 24 homepage = "https://code.google.com/archive/p/anka-coder-fonts"; 25 license = licenses.ofl; 26 maintainers = [ ]; 27 platforms = platforms.all; 28 }; 29} 30