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

25 lines
599 B
Nix
Raw Normal View History

2019-08-20 03:32:06 +00:00
{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
pname = "joypixels";
2020-04-02 23:40:32 +00:00
version = "5.5.0";
2019-08-20 03:32:06 +00:00
src = fetchurl {
url = "https://cdn.joypixels.com/arch-linux/font/${version}/joypixels-android.ttf";
2020-04-02 23:40:32 +00:00
sha256 = "S0Y/yAps11W69poz2c3xJSX9Augexm82ZzbbCSgoeXA=";
2019-08-20 03:32:06 +00: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/;
license = licenses.unfree;
maintainers = with maintainers; [ jtojnar ];
};
}