2023-02-02 18:25:31 +00:00
|
|
|
{ lib, stdenvNoCC, fetchzip }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
let
|
|
|
|
majorVersion = "0";
|
|
|
|
minorVersion = "110";
|
|
|
|
in
|
2023-04-29 16:46:19 +00:00
|
|
|
stdenvNoCC.mkDerivation (finalAttrs: {
|
2023-02-02 18:25:31 +00:00
|
|
|
pname = "f5_6";
|
|
|
|
version = "${majorVersion}.${minorVersion}";
|
|
|
|
|
|
|
|
src = fetchzip {
|
2023-04-29 16:46:19 +00:00
|
|
|
url = "https://dotcolon.net/download/fonts/${finalAttrs.pname}_${majorVersion}${minorVersion}.zip";
|
2023-02-02 18:25:31 +00:00
|
|
|
hash = "sha256-FeCU+mzR0iO5tixI72XUnhvpGj+WRfKyT3mhBtud3uE=";
|
|
|
|
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; {
|
2023-04-29 16:46:19 +00:00
|
|
|
homepage = "http://dotcolon.net/font/${finalAttrs.pname}/";
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Weighted decorative font";
|
2020-04-24 23:36:52 +00:00
|
|
|
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;
|
|
|
|
};
|
2023-02-02 18:25:31 +00:00
|
|
|
})
|