ttf-envy-code-r: init at preview7

This commit is contained in:
wheatdog 2017-07-06 14:44:43 +08:00
parent 05aa2a58db
commit 208edec09a
3 changed files with 31 additions and 0 deletions

View File

@ -315,6 +315,7 @@
luispedro = "Luis Pedro Coelho <luis@luispedro.org>";
lukego = "Luke Gorrie <luke@snabb.co>";
lw = "Sergey Sofeychuk <lw@fmap.me>";
lyt = "Tim Liou <wheatdoge@gmail.com>";
m3tti = "Mathaeus Sander <mathaeus.peter.sander@gmail.com>";
ma27 = "Maximilian Bosch <maximilian@mbosch.me>";
madjar = "Georges Dubus <georges.dubus@compiletoi.net>";

View File

@ -0,0 +1,28 @@
{ stdenv, fetchurl, unzip }:
stdenv.mkDerivation rec {
name = "ttf-envy-code-r";
version = "PR7";
src = fetchurl {
url = "http://download.damieng.com/fonts/original/EnvyCodeR-${version}.zip";
sha256 = "9f7e9703aaf21110b4e1a54d954d57d4092727546348598a5a8e8101e4597aff";
};
buildInputs = [unzip];
installPhase = ''
for f in *.ttf; do
install -Dm 644 "$f" "$out/share/fonts/truetype/$f"
done
install -Dm 644 Read\ Me.txt "$out/share/doc/readme.txt"
'';
meta = with stdenv.lib; {
homepage = http://damieng.com/blog/tag/envy-code-r;
description = "Free scalable coding font by DamienG";
license = licenses.unfree;
platforms = platforms.linux;
maintainers = [ maintainers.lyt ];
};
}

View File

@ -13096,6 +13096,8 @@ with pkgs;
ttf_bitstream_vera = callPackage ../data/fonts/ttf-bitstream-vera { };
ttf-envy-code-r = callPackage ../data/fonts/ttf-envy-code-r {};
tzdata = callPackage ../data/misc/tzdata { };
ubuntu_font_family = callPackage ../data/fonts/ubuntu-font-family { };