nixpkgs/pkgs/data/fonts/joypixels/default.nix
2020-04-10 17:54:53 +01:00

25 lines
601 B
Nix

{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
pname = "joypixels";
version = "5.5.0";
src = fetchurl {
url = "https://cdn.joypixels.com/arch-linux/font/${version}/joypixels-android.ttf";
sha256 = "S0Y/yAps11W69poz2c3xJSX9Augexm82ZzbbCSgoeXA=";
};
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 ];
};
}