about summary refs log tree commit diff
path: root/pkgs/data/fonts/shrikhand/default.nix
blob: 0db94ebd4ecba9fa924ba1722e0a87b69c6ec24f (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
28
29
{ lib, stdenvNoCC, fetchurl }:

stdenvNoCC.mkDerivation {
  pname = "shrikhand";
  version = "unstable-2016-03-03";

  src = fetchurl {
    url = "https://github.com/jonpinhorn/shrikhand/raw/c11c9b0720fba977fad7cb4f339ebacdba1d1394/build/Shrikhand-Regular.ttf";
    hash = "sha256-wHP1Bwu5Yw3a+RwDOHrmthsnuvwyCV4l6ma5EjA6EMA=";
  };

  dontUnpack = true;

  installPhase = ''
    runHook preInstall

    install -D -m644 $src $out/share/fonts/truetype/Shrikhand-Regular.ttf

    runHook postInstall
  '';

  meta = with 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;
  };
}