uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
42
pkgs/data/fonts/twemoji-color-font/default.nix
Normal file
42
pkgs/data/fonts/twemoji-color-font/default.nix
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchurl
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "twemoji-color-font";
|
||||
version = "13.1.0";
|
||||
|
||||
# We fetch the prebuilt font because building it takes 1.5 hours on hydra.
|
||||
# Relevant issue: https://github.com/NixOS/nixpkgs/issues/97871
|
||||
src = fetchurl {
|
||||
url = "https://github.com/eosrei/twemoji-color-font/releases/download/v${version}/TwitterColorEmoji-SVGinOT-Linux-${version}.tar.gz";
|
||||
sha256 = "sha256-V8DWUUAK+HLDPcq3izPs174PfUnaSeLByDpZwhUIX5Q=";
|
||||
};
|
||||
|
||||
dontBuild = true;
|
||||
|
||||
installPhase = ''
|
||||
install -Dm755 TwitterColorEmoji-SVGinOT.ttf $out/share/fonts/truetype/TwitterColorEmoji-SVGinOT.ttf
|
||||
install -Dm644 fontconfig/46-twemoji-color.conf $out/etc/fonts/conf.d/46-twemoji-color.conf
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Color emoji SVGinOT font using Twitter Unicode 10 emoji with diversity and country flags";
|
||||
longDescription = ''
|
||||
A color and B&W emoji SVGinOT font built from the Twitter Emoji for
|
||||
Everyone artwork with support for ZWJ, skin tone diversity and country
|
||||
flags.
|
||||
|
||||
The font works in all operating systems, but will currently only show
|
||||
color emoji in Firefox, Thunderbird, Photoshop CC 2017, and Windows Edge
|
||||
V38.14393+. This is not a limitation of the font, but of the operating
|
||||
systems and applications. Regular B&W outline emoji are included for
|
||||
backwards/fallback compatibility.
|
||||
'';
|
||||
homepage = "https://github.com/eosrei/twemoji-color-font";
|
||||
downloadPage = "https://github.com/eosrei/twemoji-color-font/releases";
|
||||
license = with licenses; [ cc-by-40 mit ];
|
||||
maintainers = [ maintainers.fgaz ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue