2019-05-13 02:55:32 +01:00
|
|
|
{ lib, fetchzip }:
|
2017-02-04 15:38:01 +00:00
|
|
|
|
2017-08-11 04:49:27 +01:00
|
|
|
let
|
2017-02-04 15:38:01 +00:00
|
|
|
version = "1.1.5";
|
2017-08-11 04:49:27 +01:00
|
|
|
in fetchzip rec {
|
|
|
|
name = "liberastika-${version}";
|
2017-02-04 15:38:01 +00:00
|
|
|
|
2017-08-11 04:49:27 +01:00
|
|
|
url = "mirror://sourceforge/project/lib-ka/liberastika-ttf-${version}.zip";
|
2017-02-04 15:38:01 +00:00
|
|
|
|
2017-08-11 04:49:27 +01:00
|
|
|
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}"
|
2017-02-04 15:38:01 +00:00
|
|
|
'';
|
|
|
|
|
2017-08-11 04:49:27 +01:00
|
|
|
sha256 = "1a9dvl1pzch2vh8sqyyn1d1wz4n624ffazl6hzlc3s5k5lzrb6jp";
|
|
|
|
|
2019-05-13 02:55:32 +01:00
|
|
|
meta = with lib; {
|
2017-02-04 15:38:01 +00:00
|
|
|
description = "Liberation Sans fork with improved cyrillic support";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://sourceforge.net/projects/lib-ka/";
|
2017-02-04 15:38:01 +00:00
|
|
|
|
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.all;
|
|
|
|
hydraPlatforms = [];
|
|
|
|
maintainers = [ maintainers.volth ];
|
|
|
|
};
|
|
|
|
}
|