nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at netboot-syslinux-multiplatform 42 lines 1.3 kB view raw
1{ lib, stdenvNoCC, fetchzip }: 2 3let 4 majorVersion = "0"; 5 minorVersion = "100"; 6in 7stdenvNoCC.mkDerivation (finalAttrs: { 8 pname = "seshat"; 9 version = "${majorVersion}.${minorVersion}"; 10 11 src = fetchzip { 12 url = "https://dotcolon.net/download/fonts/${finalAttrs.pname}_${majorVersion}${minorVersion}.zip"; 13 hash = "sha256-XgprDhzAbcTzZw2QOwpCnzusYheYmSlM+ApU+Y0wO2Q="; 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 = "Roman body font designed for main text by Sora Sagano"; 28 longDescription = '' 29 Seshat is a Roman body font designed for the main text. By 30 referring to the classical balance, we changed some lines by 31 omitting part of the lines such as "A" and "n". 32 33 Also, by attaching the strength of the thickness like Optima 34 to the main drawing, it makes it more sharp design. 35 36 It incorporates symbols and ligatures used in the European region. 37 ''; 38 platforms = platforms.all; 39 maintainers = with maintainers; [ leenaars minijackson ]; 40 license = licenses.cc0; 41 }; 42})