2023-01-30 12:25:57 +03:00
|
|
|
{ lib, stdenvNoCC, fetchFromGitHub }:
|
2019-04-08 16:30:11 +03:00
|
|
|
|
2023-01-30 12:25:57 +03:00
|
|
|
stdenvNoCC.mkDerivation rec {
|
2019-04-08 16:30:11 +03:00
|
|
|
pname = "ir-standard-fonts";
|
2023-01-30 12:25:57 +03:00
|
|
|
version = "20170121";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "molaeiali";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
|
|
|
hash = "sha256-o1d8SBX3nf7g6Gh4OP+JRS+LNrHTQOIiHhW3VNCkDV0=";
|
|
|
|
};
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
runHook preInstall
|
2019-04-08 16:30:11 +03:00
|
|
|
|
2019-05-13 04:55:32 +03:00
|
|
|
find . -name '*.ttf' -exec install -m444 -Dt $out/share/fonts/ir-standard-fonts {} \;
|
2023-01-30 12:25:57 +03:00
|
|
|
|
|
|
|
runHook postInstall
|
2019-04-08 16:30:11 +03:00
|
|
|
'';
|
|
|
|
|
2019-05-13 04:55:32 +03:00
|
|
|
meta = with lib; {
|
2020-04-01 04:11:51 +03:00
|
|
|
homepage = "https://github.com/morealaz/ir-standard-fonts";
|
2019-04-08 16:30:11 +03:00
|
|
|
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 = [ ];
|
2019-04-08 16:30:11 +03:00
|
|
|
};
|
|
|
|
}
|