Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at python-updates 39 lines 835 B view raw
1{ 2 lib, 3 stdenvNoCC, 4 fetchzip, 5}: 6 7let 8 majorVersion = "0"; 9 minorVersion = "601"; 10in 11stdenvNoCC.mkDerivation { 12 pname = "tenderness"; 13 version = "${majorVersion}.${minorVersion}"; 14 15 src = fetchzip { 16 url = "https://dotcolon.net/download/fonts/tenderness_${majorVersion}${minorVersion}.zip"; 17 hash = "sha256-bwJKW+rY7/r2pBCSA6HYlaRMsI/U8UdW2vV4tmYuJww="; 18 stripRoot = false; 19 }; 20 21 installPhase = '' 22 runHook preInstall 23 24 install -D -m444 -t $out/share/fonts/opentype $src/*.otf 25 26 runHook postInstall 27 ''; 28 29 meta = with lib; { 30 homepage = "http://dotcolon.net/font/tenderness/"; 31 description = "Serif font designed by Sora Sagano with old-style figures"; 32 platforms = platforms.all; 33 maintainers = with maintainers; [ 34 leenaars 35 minijackson 36 ]; 37 license = licenses.ofl; 38 }; 39}