depot/third_party/nixpkgs/pkgs/data/fonts/vazir-fonts/default.nix
Default email 4bac34ead1 Project import generated by Copybara.
GitOrigin-RevId: 724bfc0892363087709bd3a5a1666296759154b1
2023-02-09 12:40:11 +01:00

31 lines
724 B
Nix
Executable file
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{ lib, stdenvNoCC, fetchFromGitHub }:
stdenvNoCC.mkDerivation rec {
pname = "vazir-fonts";
version = "33.003";
src = fetchFromGitHub {
owner = "rastikerdar";
repo = "vazir-font";
rev = "v${version}";
hash = "sha256-C1UtfrRFzz0uv/hj8e7huXe4sNd5h7ozVhirWEAyXGg=";
};
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 = [ ];
};
}