nixpkgs/pkgs/data/fonts/joypixels/default.nix

25 lines
609 B
Nix
Raw Normal View History

2019-08-20 04:32:06 +01:00
{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
pname = "joypixels";
2020-06-28 00:43:11 +01:00
version = "6.0.0";
2019-08-20 04:32:06 +01:00
src = fetchurl {
url = "https://cdn.joypixels.com/arch-linux/font/${version}/joypixels-android.ttf";
2020-06-28 00:43:11 +01:00
sha256 = "1vxqsqs93g4jyp01r47lrpcm0fmib2n1vysx32ksmfxmprimb75s";
2019-08-20 04:32:06 +01:00
};
dontUnpack = true;
installPhase = ''
install -Dm644 $src $out/share/fonts/truetype/joypixels.ttf
'';
meta = with stdenv.lib; {
description = "Emoji as a Service (formerly EmojiOne)";
homepage = "https://www.joypixels.com/";
2019-08-20 04:32:06 +01:00
license = licenses.unfree;
maintainers = with maintainers; [ jtojnar ];
};
}