2023-02-02 18:25:31 +00:00
|
|
|
{ lib, stdenvNoCC, fetchzip }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
let
|
|
|
|
majorVersion = "0";
|
|
|
|
minorVersion = "601";
|
|
|
|
in
|
2024-07-27 06:49:29 +00:00
|
|
|
stdenvNoCC.mkDerivation {
|
2023-02-02 18:25:31 +00:00
|
|
|
pname = "tenderness";
|
|
|
|
version = "${majorVersion}.${minorVersion}";
|
|
|
|
|
|
|
|
src = fetchzip {
|
2024-07-27 06:49:29 +00:00
|
|
|
url = "https://dotcolon.net/download/fonts/tenderness_${majorVersion}${minorVersion}.zip";
|
2023-02-02 18:25:31 +00:00
|
|
|
hash = "sha256-bwJKW+rY7/r2pBCSA6HYlaRMsI/U8UdW2vV4tmYuJww=";
|
|
|
|
stripRoot = false;
|
|
|
|
};
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
installPhase = ''
|
|
|
|
runHook preInstall
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
install -D -m444 -t $out/share/fonts/opentype $src/*.otf
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
runHook postInstall
|
2020-04-24 23:36:52 +00:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
2024-07-27 06:49:29 +00:00
|
|
|
homepage = "http://dotcolon.net/font/tenderness/";
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Serif font designed by Sora Sagano with old-style figures";
|
|
|
|
platforms = platforms.all;
|
2023-02-02 18:25:31 +00:00
|
|
|
maintainers = with maintainers; [ leenaars minijackson ];
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.ofl;
|
|
|
|
};
|
2024-07-27 06:49:29 +00:00
|
|
|
}
|