forked from mirrors/nixpkgs
liberastika: init at 1.1.5 (#22420)
This commit is contained in:
parent
05152bd5b3
commit
9e299acf87
33
pkgs/data/fonts/liberastika/default.nix
Normal file
33
pkgs/data/fonts/liberastika/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue