joypixels: init at 5.0.2

This commit is contained in:
Jan Tojnar 2019-08-20 05:32:06 +02:00
parent 1412af4b2c
commit 50f2ecf823
No known key found for this signature in database
GPG key ID: 7FAB2A15F7A607A4
2 changed files with 33 additions and 0 deletions

View file

@ -0,0 +1,31 @@
{ stdenv, fetchurl }:
let
fontconfig = fetchurl {
name = "75-joypixels.conf";
url = "https://git.archlinux.org/svntogit/community.git/plain/trunk/75-joypixels.conf?h=packages/ttf-joypixels&id=b2b38f8393ec56ed7338c256f5b85f3439a2dfc3";
sha256 = "065y2fmf86zzvna1hrvcg46cnr7a76xd2mwa26nss861dsx6pnd6";
};
in stdenv.mkDerivation rec {
pname = "emojione";
version = "5.0.2";
src = fetchurl {
url = "https://cdn.joypixels.com/arch-linux/font/${version}/joypixels-android.ttf";
sha256 = "0javgnfsh2nfddr5flf4yzi81ar8wx2z8w1q7h4fvdng5fsrgici";
};
dontUnpack = true;
installPhase = ''
install -Dm644 $src $out/share/fonts/truetype/joypixels.ttf
install -Dm644 ${fontconfig} $out/etc/fonts/conf.d/75-joypixels.conf
'';
meta = with stdenv.lib; {
description = "Emoji as a Service (formerly EmojiOne)";
homepage = https://www.joypixels.com/;
license = licenses.unfree;
maintainers = with maintainers; [ jtojnar ];
};
}

View file

@ -16682,6 +16682,8 @@ in
jost = callPackage ../data/fonts/jost { };
joypixels = callPackage ../data/fonts/joypixels { };
junicode = callPackage ../data/fonts/junicode { };
kanji-stroke-order-font = callPackage ../data/fonts/kanji-stroke-order-font {};