nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 38 lines 1.0 kB view raw
1{ 2 stdenvNoCC, 3 fetchurl, 4 lib, 5}: 6stdenvNoCC.mkDerivation { 7 pname = "7-segment-font"; 8 version = "3.0-unstable-2025-06-03"; 9 10 src = fetchurl { 11 url = "https://torinak.com/font/7segment.ttf"; 12 hash = "sha256-zIjaEGDLR9ad192GH9pIU6/A3ZGAuR0oF3ZB3Ew3Xbs="; 13 }; 14 15 dontUnpack = true; 16 17 installPhase = '' 18 runHook preInstall 19 20 install -Dm444 "$src" "$out/share/fonts/truetype/7segment.ttf" 21 22 runHook postInstall 23 ''; 24 25 meta = { 26 description = "Font that imitates classic seven-segment LCD and LED displays"; 27 longDescription = '' 28 A font that imitates classic seven-segment LCD and LED displays. 29 Beside digits, it contains Latin letters and some symbols constructed from segments, 30 with separate dot and colon as used in calculators and digital clocks. 31 ''; 32 homepage = "https://torinak.com/font/7-segment"; 33 downloadPage = "https://torinak.com/font/7-segment"; 34 license = lib.licenses.ofl; 35 maintainers = with lib.maintainers; [ elfenermarcell ]; 36 platforms = lib.platforms.all; 37 }; 38}