about summary refs log tree commit diff
path: root/pkgs/data/fonts/lohit-fonts/default.nix
blob: 707d52c8baa085408d0a3fe7a0ad33644b094ab5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ stdenv, fetchurl }:

stdenv.mkDerivation {
  name = "lohit-fonts-20140220";
  src = fetchurl {
    url = https://fedorahosted.org/releases/l/o/lohit/lohit-ttf-20140220.tar.gz;
    sha256 = "1rmgr445hw1n851ywy28csfvswz1i6hnc8mzp88qw2xk9j4dn32d";
  };

  installPhase = ''
    mkdir -p $out/share/fonts/truetype
    cp *.ttf $out/share/fonts/truetype
  '';

  meta = with stdenv.lib; {
    homepage = https://fedorahosted.org/lohit/;
    description = "Fonts for 21 Indian languages";
    license = licenses.ofl;
    maintainers = [ maintainers.ttuegel ];
    platforms = platforms.all;
  };
}