mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
7e2b15f08b
- [x] make the font derivation fixed-output (https://github.com/NixOS/nixpkgs/issues/27754)
28 lines
780 B
Nix
28 lines
780 B
Nix
{stdenv, 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 stdenv.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 ];
|
|
};
|
|
}
|