depot/third_party/nixpkgs/pkgs/data/fonts/liberastika/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

27 lines
774 B
Nix

{ lib, fetchzip }:
let
version = "1.1.5";
in fetchzip rec {
name = "liberastika-${version}";
url = "mirror://sourceforge/project/lib-ka/liberastika-ttf-${version}.zip";
postFetch = ''
mkdir -p $out/share/{doc,fonts}
unzip -j $downloadedFile \*.ttf -d $out/share/fonts/truetype
unzip -j $downloadedFile AUTHORS ChangeLog COPYING README -d "$out/share/doc/${name}"
'';
sha256 = "1a9dvl1pzch2vh8sqyyn1d1wz4n624ffazl6hzlc3s5k5lzrb6jp";
meta = with lib; {
description = "Liberation Sans fork with improved cyrillic support";
homepage = "https://sourceforge.net/projects/lib-ka/";
license = licenses.gpl2;
platforms = platforms.all;
hydraPlatforms = [];
maintainers = [ maintainers.volth ];
};
}