nixpkgs-suyu/pkgs/data/fonts/kacst/default.nix

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

23 lines
566 B
Nix
Raw Normal View History

2022-03-29 02:57:24 +02:00
{ fetchzip, lib }:
let
version = "2.01";
in
fetchzip {
name = "kacst-${version}";
url = "mirror://debian/pool/main/f/fonts-kacst/fonts-kacst_${version}+mry.orig.tar.bz2";
sha256 = "sha256-pIO58CXfmKYRKYJ1oI+tjTwlKBRnkZ/CpIM2Xa0CDA4=";
postFetch = ''
mkdir -p $out/share/fonts
tar xjf $downloadedFile --strip-components=1 -C $out/share/fonts
'';
meta = with lib; {
description = "KACST Latin-Arabic TrueType fonts";
license = licenses.gpl2Only;
maintainers = with lib.maintainers; [ serge ];
platforms = platforms.all;
};
}