{twitter-color-emoji,noto-fonts-color-emoji}: Enable `strictDeps`, Fix cross

twitter-color-emoji is already copying some attrs from
noto-fonts-color-emoji so let's copy the deps too to fix cross.

Cleanup the `buildPackages.python3.pkgs` by using `python3Packages` which is spliced.

Artturin 371eef69 a21deff8

+7 -21
+4 -1
pkgs/by-name/no/noto-fonts-color-emoji/package.nix
··· 3 3 stdenvNoCC, 4 4 fetchFromGitHub, 5 5 buildPackages, 6 + python3Packages, 6 7 pkg-config, 7 8 cairo, 8 9 imagemagick, ··· 23 24 hash = "sha256-GYBnMpSUDNjAOZtbRPSmbW39TWP5ljEMukQRwq4J9U4="; 24 25 }; 25 26 27 + strictDeps = true; 28 + 26 29 depsBuildBuild = [ 27 30 buildPackages.stdenv.cc 28 31 pkg-config ··· 35 38 nototools 36 39 pngquant 37 40 which 38 - buildPackages.python3.pkgs.fonttools 41 + python3Packages.fonttools 39 42 ]; 40 43 41 44 postPatch = ''
+3 -20
pkgs/by-name/tw/twitter-color-emoji/package.nix
··· 3 3 4 4 { 5 5 lib, 6 - stdenv, 6 + stdenvNoCC, 7 7 fetchFromGitHub, 8 - cairo, 9 - imagemagick, 10 - nototools, 11 - pkg-config, 12 - pngquant, 13 - python3, 14 - which, 15 - zopfli, 16 8 noto-fonts-color-emoji, 17 9 }: 18 10 ··· 27 19 hash = "sha256-FLOqXDpSFyClBlG5u3IRL0EKeu1mckCfRizJh++IWxo="; 28 20 }; 29 21 in 30 - stdenv.mkDerivation rec { 22 + stdenvNoCC.mkDerivation rec { 31 23 pname = "twitter-color-emoji"; 32 24 inherit version; 33 25 ··· 43 35 mv ${twemojiSrc.name} ${noto-fonts-color-emoji.src.name} 44 36 ''; 45 37 46 - nativeBuildInputs = [ 47 - cairo 48 - python3.pkgs.fonttools 49 - imagemagick 50 - nototools 51 - pkg-config 52 - pngquant 53 - which 54 - zopfli 55 - ]; 38 + inherit (noto-fonts-color-emoji) strictDeps depsBuildBuild nativeBuildInputs; 56 39 57 40 postPatch = 58 41 let