Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 28 lines 604 B view raw
1{ 2 lib, 3 stdenv, 4 fetchurl, 5}: 6 7stdenv.mkDerivation rec { 8 pname = "OCR-A"; 9 version = "1.0"; 10 11 src = fetchurl { 12 url = "mirror://sourceforge/ocr-a-font/OCR-A/${version}/OCRA.ttf"; 13 sha256 = "0kpmjjxwzm84z8maz6lq9sk1b0xv1zkvl28lwj7i0m2xf04qixd0"; 14 }; 15 16 dontUnpack = true; 17 18 installPhase = '' 19 install -D -m 0644 $src $out/share/fonts/truetype/OCRA.ttf 20 ''; 21 22 meta = with lib; { 23 description = "ANSI OCR font from the '60s. CYBER"; 24 homepage = "https://sourceforge.net/projects/ocr-a-font/"; 25 license = licenses.publicDomain; 26 maintainers = with maintainers; [ V ]; 27 }; 28}