nixpkgs/pkgs/data/fonts/liberastika/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

32 lines
732 B
Nix
Raw Normal View History

{ lib, fetchzip }:
2017-02-04 15:38:01 +00:00
let
2017-02-04 15:38:01 +00:00
version = "1.1.5";
in fetchzip rec {
name = "liberastika-${version}";
2017-02-04 15:38:01 +00:00
url = "mirror://sourceforge/project/lib-ka/liberastika-ttf-${version}.zip";
2017-02-04 15:38:01 +00:00
stripRoot = false;
postFetch = ''
mkdir -p $out/share/fonts
install -Dm644 $out/*.ttf -t $out/share/fonts/truetype
shopt -s extglob dotglob
rm -rf $out/!(share)
shopt -u extglob dotglob
2017-02-04 15:38:01 +00:00
'';
sha256 = "sha256-1hoETOjPRUIzzM+NUR+g/Ph16jXmH2ARSlZHjgEwoeM=";
meta = with lib; {
2017-02-04 15:38:01 +00:00
description = "Liberation Sans fork with improved cyrillic support";
homepage = "https://sourceforge.net/projects/lib-ka/";
2017-02-04 15:38:01 +00:00
license = licenses.gpl2;
platforms = platforms.all;
hydraPlatforms = [];
maintainers = [ ];
2017-02-04 15:38:01 +00:00
};
}