nixpkgs/pkgs/by-name/be/behdad-fonts/package.nix

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

30 lines
674 B
Nix
Raw Normal View History

{ lib, stdenvNoCC, fetchFromGitHub }:
2019-03-31 16:44:01 +00:00
stdenvNoCC.mkDerivation rec {
2019-03-31 16:44:01 +00:00
pname = "behdad-fonts";
version = "0.0.3";
src = fetchFromGitHub {
owner = "font-store";
repo = "BehdadFont";
rev = "v${version}";
hash = "sha256-gKfzxo3/bCMKXl2d6SP07ahIiNrUyrk/SN5XLND2lWY=";
};
installPhase = ''
runHook preInstall
find . -name '*.ttf' -exec install -m444 -Dt $out/share/fonts/behrad-fonts {} \;
runHook postInstall
2019-03-31 16:44:01 +00:00
'';
meta = with lib; {
homepage = "https://github.com/font-store/BehdadFont";
2019-03-31 16:44:01 +00:00
description = "Persian/Arabic Open Source Font";
license = licenses.ofl;
platforms = platforms.all;
2022-02-20 04:20:00 +00:00
maintainers = [ ];
2019-03-31 16:44:01 +00:00
};
}