{ lib, stdenvNoCC, fetchFromGitHub }: stdenvNoCC.mkDerivation rec { pname = "vazir-fonts"; version = "32.0.0"; src = fetchFromGitHub { owner = "rastikerdar"; repo = "vazir-font"; rev = "v${version}"; hash = "sha256-lkjlSW3Sfr1bJ9/IOsZl9yOVh9mYKhoV5XcLkqcQ71g="; }; dontBuild = true; installPhase = '' runHook preInstall find . -name '*.ttf' -exec install -m444 -Dt $out/share/fonts/truetype {} \; runHook postInstall ''; meta = with lib; { homepage = "https://github.com/rastikerdar/vazir-font"; description = "A Persian (Farsi) Font - قلم (فونت) فارسی وزیر"; license = licenses.ofl; platforms = platforms.all; maintainers = [ ]; }; }