29 lines
626 B
Nix
29 lines
626 B
Nix
{ lib, fetchzip, stdenvNoCC }:
|
|
|
|
stdenvNoCC.mkDerivation {
|
|
pname = "rodondo";
|
|
version = "1.0.0";
|
|
|
|
src = fetchzip {
|
|
url = "https://dl.dafont.com/dl/?f=rodondo";
|
|
hash = "sha256-xs0uNnF/CZgWvCKXZvFJ9eHTW2x7wi1/IPjuJnCONUA=";
|
|
extension = "zip";
|
|
stripRoot = false;
|
|
};
|
|
|
|
installPhase = ''
|
|
runHook preInstall
|
|
|
|
install -Dm644 -t $out/share/fonts/opentype *.otf
|
|
|
|
runHook postInstall
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "The Rodondo font";
|
|
homepage = "https://www.dafont.com/rodondo.font";
|
|
# idk what to put here:
|
|
# license = licenses.ofl;
|
|
platforms = platforms.all;
|
|
};
|
|
}
|