about summary refs log tree commit diff
path: root/nixpkgs/pkgs/data/fonts/kacst/default.nix
blob: 38f85d2ad0fc30a30208af4ad608f750cc6c7566 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ 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;
  };
}