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

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

30 lines
705 B
Nix
Raw Normal View History

{ lib, stdenvNoCC, fetchFromGitHub }:
2019-03-31 21:03:48 +03:00
stdenvNoCC.mkDerivation rec {
2019-03-31 21:03:48 +03:00
pname = "samim-fonts";
2023-02-04 03:33:43 +03:00
version = "4.0.5";
2019-03-31 21:03:48 +03:00
src = fetchFromGitHub {
owner = "rastikerdar";
repo = "samim-font";
rev = "v${version}";
2023-02-04 03:33:43 +03:00
hash = "sha256-DVBMsNOVAVwzlZ3cDus/3CSsC05bLZalQ2KeueEvwXs=";
};
installPhase = ''
runHook preInstall
2019-03-31 21:03:48 +03:00
find . -name '*.ttf' -exec install -m444 -Dt $out/share/fonts/samim-fonts {} \;
runHook postInstall
2019-03-31 21:03:48 +03:00
'';
meta = with lib; {
homepage = "https://github.com/rastikerdar/samim-font";
2019-03-31 21:03:48 +03:00
description = "A Persian (Farsi) Font - فونت (قلم) فارسی صمیم";
license = licenses.ofl;
platforms = platforms.all;
2022-02-20 07:20:00 +03:00
maintainers = [ ];
2019-03-31 21:03:48 +03:00
};
}