15 buildPackages.python3.withPackages (p: with p; [ fonttools nototools ]);
17 stdenvNoCC.mkDerivation rec {
18 pname = "noto-fonts-color-emoji";
21 src = fetchFromGitHub {
22 owner = "googlefonts";
25 hash = "sha256-otJQMXrBIPrxD1vCdgcrZ2h1a9XAMbqEBFumjz1XJ54=";
29 buildPackages.stdenv.cc
44 patchShebangs third_party/color_emoji/*.py
45 # remove check for virtualenv, since we handle
46 # python requirements using python.withPackages
47 sed -i '/ifndef VIRTUAL_ENV/,+2d' Makefile
48 # Make the build verbose so it won't get culled by Hydra thinking that
49 # it somehow got stuck doing nothing.
50 sed -i 's;\t@;\t;' Makefile
53 buildFlags = [ "BYPASS_SEQUENCE_CHECK=True" ];
55 enableParallelBuilding = true;
59 mkdir -p $out/share/fonts/noto
60 cp NotoColorEmoji.ttf $out/share/fonts/noto
65 description = "Color emoji font";
66 homepage = "https://github.com/googlefonts/noto-emoji";
67 license = with lib.licenses; [ ofl asl20 ];
68 platforms = lib.platforms.all;
69 maintainers = with lib.maintainers; [ mathnerd314 sternenseemann ];