about summary refs log tree commit diff
path: root/pkgs/data/fonts/shrikhand/default.nix
blob: 942a284e2c0de14d3a7b56d8d77bdf1f404330b3 (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
{ stdenv, fetchFromGitHub }:

stdenv.mkDerivation rec {
  version = "2016-03-03";
  name = "shrikhand-${version}";

  src = fetchFromGitHub {
    owner = "jonpinhorn";
    repo = "shrikhand";
    rev = "c11c9b0720fba977fad7cb4f339ebacdba1d1394";
    sha256 = "1d21bvj4w8i0zrmkdrgbn0rpzac89iazfids1x273gsrsvvi45kk";
  };

  installPhase = ''
    install -D -m644 build/Shrikhand-Regular.ttf $out/share/fonts/truetype/Shrikhand-Regular.ttf
  '';

  meta = with stdenv.lib; {
    homepage = https://jonpinhorn.github.io/shrikhand/;
    description = "A vibrant and playful typeface for both Latin and Gujarati writing systems";
    maintainers = with maintainers; [ sternenseemann ];
    platforms = platforms.all;
    license = licenses.ofl;
  };
}