nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at netboot-syslinux-multiplatform 37 lines 1.0 kB view raw
1{ lib, stdenvNoCC, fetchzip }: 2 3let 4 majorVersion = "0"; 5 minorVersion = "200"; 6in 7stdenvNoCC.mkDerivation (finalAttrs: { 8 pname = "medio"; 9 version = "${majorVersion}.${minorVersion}"; 10 11 src = fetchzip { 12 url = "https://dotcolon.net/download/fonts/${finalAttrs.pname}_${majorVersion}${minorVersion}.zip"; 13 hash = "sha256-S+CcwD4zGVk7cIFD6K4NnpE/0mrJq4RnDJC576rhcLQ="; 14 stripRoot = false; 15 }; 16 17 installPhase = '' 18 runHook preInstall 19 20 install -D -m444 -t $out/share/fonts/opentype $src/*.otf 21 22 runHook postInstall 23 ''; 24 25 meta = with lib; { 26 homepage = "http://dotcolon.net/font/${finalAttrs.pname}/"; 27 description = "Serif font designed by Sora Sagano"; 28 longDescription = '' 29 Medio is a serif font designed by Sora Sagano, based roughly 30 on the proportions of the font Tenderness (from the same designer), 31 but with hairline serifs in the style of a Didone. 32 ''; 33 platforms = platforms.all; 34 maintainers = with maintainers; [ leenaars minijackson ]; 35 license = licenses.cc0; 36 }; 37})