liberastika: init at 1.1.5 (#22420)

This commit is contained in:
volth 2017-02-04 15:38:01 +00:00 committed by Joachim F
parent 05152bd5b3
commit 9e299acf87
2 changed files with 35 additions and 0 deletions

View file

@ -0,0 +1,33 @@
{stdenv, fetchurl, unzip}:
stdenv.mkDerivation rec {
name = "liberastika-${version}";
version = "1.1.5";
src = fetchurl {
url = "mirror://sourceforge/project/lib-ka/liberastika-ttf-${version}.zip";
sha256 = "0vg5ki120lb577ihvq8w0nxs8yacqzcvsmnsygksmn6281hyj0xj";
};
buildInputs = [ unzip ];
sourceRoot = ".";
installPhase = ''
mkdir -p $out/share/fonts/truetype
cp -v $(find . -name '*.ttf') $out/share/fonts/truetype
mkdir -p "$out/doc/${name}"
cp -v AUTHORS ChangeLog COPYING README "$out/doc/${name}" || true
'';
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 ];
};
}

View file

@ -12140,6 +12140,8 @@ with pkgs;
liberationsansnarrow = callPackage ../data/fonts/liberationsansnarrow { };
liberationsansnarrow_binary = callPackage ../data/fonts/liberationsansnarrow/binary.nix { };
liberastika = callPackage ../data/fonts/liberastika { };
libertine = callPackage ../data/fonts/libertine { };
libre-baskerville = callPackage ../data/fonts/libre-baskerville { };