nixpkgs/pkgs/data/fonts/ir-standard-fonts/default.nix

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

31 lines
794 B
Nix
Raw Normal View History

{ lib, stdenvNoCC, fetchFromGitHub }:
stdenvNoCC.mkDerivation rec {
pname = "ir-standard-fonts";
version = "20170121";
src = fetchFromGitHub {
owner = "molaeiali";
repo = pname;
rev = version;
hash = "sha256-o1d8SBX3nf7g6Gh4OP+JRS+LNrHTQOIiHhW3VNCkDV0=";
};
installPhase = ''
runHook preInstall
find . -name '*.ttf' -exec install -m444 -Dt $out/share/fonts/ir-standard-fonts {} \;
runHook postInstall
'';
meta = with lib; {
homepage = "https://github.com/morealaz/ir-standard-fonts";
description = "Iran Supreme Council of Information and Communication Technology (SCICT) standard Persian fonts series";
# License information is unavailable.
license = licenses.unfree;
platforms = platforms.all;
2022-02-20 07:20:00 +03:00
maintainers = [ ];
};
}