about summary refs log tree commit diff
path: root/nixpkgs/pkgs/data/fonts/liberastika/default.nix
blob: 7c716c1a354b059bc37df224bd0794ac84f2e7a3 (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, fetchzip }:

stdenvNoCC.mkDerivation rec {
  pname = "liberastika";
  version = "1.1.5";

  src = fetchzip {
    url = "mirror://sourceforge/project/lib-ka/liberastika-ttf-${version}.zip";
    stripRoot = false;
    hash = "sha256-woUpOmxhj6eEw7PKJ8EyRcs3ORj0gCZhxHP5a5dy5z0=";
  };

  installPhase = ''
    runHook preInstall

    install -Dm644 *.ttf -t $out/share/fonts/truetype

    runHook postInstall
  '';

  meta = with lib; {
    description = "Liberation Sans fork with improved cyrillic support";
    homepage = "https://sourceforge.net/projects/lib-ka/";

    license = licenses.gpl2;
    platforms = platforms.all;
    maintainers = [ ];
  };
}