about summary refs log tree commit diff
path: root/pkgs/data/fonts/kacst/default.nix
blob: aa5ed8b547da817a0aea59e04ec0604da6b7f08f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{ lib, stdenvNoCC, fetchurl }:

stdenvNoCC.mkDerivation rec {
  pname = "kacst";
  version = "2.01";

  src = fetchurl {
    url = "mirror://debian/pool/main/f/fonts-${pname}/fonts-${pname}_${version}+mry.orig.tar.bz2";
    hash = "sha256-byiZzpYiMU6kJs+NSISfHPFzAnJtc8toNIbV/fKiMzg=";
  };

  installPhase = ''
    runHook preInstall

    mkdir -p $out/share/fonts
    cp -R kacst $out/share/fonts

    runHook postInstall
  '';

  meta = with lib; {
    description = "KACST Latin-Arabic TrueType fonts";
    license = licenses.gpl2Only;
    maintainers = with lib.maintainers; [ serge ];
    platforms = platforms.all;
  };
}