nixpkgs/pkgs/data/fonts/vazir-fonts/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

32 lines
724 B
Nix
Raw Normal View History

{ lib, stdenvNoCC, fetchFromGitHub }:
2019-03-19 13:25:40 +00:00
stdenvNoCC.mkDerivation rec {
pname = "vazir-fonts";
2023-02-05 00:49:53 +00:00
version = "33.003";
2019-03-19 13:25:40 +00:00
src = fetchFromGitHub {
owner = "rastikerdar";
repo = "vazir-font";
rev = "v${version}";
2023-02-05 00:49:53 +00:00
hash = "sha256-C1UtfrRFzz0uv/hj8e7huXe4sNd5h7ozVhirWEAyXGg=";
};
dontBuild = true;
installPhase = ''
runHook preInstall
2019-03-19 13:25:40 +00:00
2020-02-23 09:20:00 +00:00
find . -name '*.ttf' -exec install -m444 -Dt $out/share/fonts/truetype {} \;
runHook postInstall
2019-03-19 13:25:40 +00:00
'';
meta = with lib; {
2020-02-23 09:20:00 +00:00
homepage = "https://github.com/rastikerdar/vazir-font";
2019-03-19 13:25:40 +00:00
description = "A Persian (Farsi) Font - قلم (فونت) فارسی وزیر";
license = licenses.ofl;
platforms = platforms.all;
2022-02-20 04:20:00 +00:00
maintainers = [ ];
2019-03-19 13:25:40 +00:00
};
}