emojione: drop
Archived now at https://github.com/13rac1/emojione-color-font, so drop it.
This commit is contained in:
@@ -1,66 +0,0 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
fetchpatch,
|
||||
inkscape,
|
||||
imagemagick,
|
||||
potrace,
|
||||
svgo,
|
||||
scfbuild,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "emojione";
|
||||
version = "1.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "eosrei";
|
||||
repo = "emojione-color-font";
|
||||
rev = "v${version}";
|
||||
sha256 = "1781kxfbhnvylypbkwxc3mx6hi0gcjisfjr9cf0jdz4d1zkf09b3";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Fix build with Inkscape 1.0
|
||||
# https://github.com/eosrei/twemoji-color-font/pull/82
|
||||
(fetchpatch {
|
||||
url = "https://github.com/eosrei/twemoji-color-font/commit/208ad63c2ceb38c528b5237abeb2b85ceedc1d37.patch";
|
||||
sha256 = "7tDWIkpcdir1V6skgXSM3r0FwHy0F6PyJ07OPRsSStA=";
|
||||
postFetch = ''
|
||||
substituteInPlace $out \
|
||||
--replace "inkscape --without-gui" "inkscape --export-png" \
|
||||
--replace TWEMOJI EMOJIONE \
|
||||
--replace "the assets" "the emojione assets" \
|
||||
--replace twemoji emojione
|
||||
'';
|
||||
})
|
||||
];
|
||||
|
||||
preBuild = ''
|
||||
sed -i 's,SCFBUILD :=.*,SCFBUILD := scfbuild,' Makefile
|
||||
# Shut up inkscape's warnings
|
||||
export HOME="$NIX_BUILD_ROOT"
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
inkscape
|
||||
imagemagick
|
||||
potrace
|
||||
svgo
|
||||
scfbuild
|
||||
];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
installPhase = ''
|
||||
install -Dm755 build/EmojiOneColor-SVGinOT.ttf $out/share/fonts/truetype/EmojiOneColor-SVGinOT.ttf
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Open source emoji set";
|
||||
homepage = "http://emojione.com/";
|
||||
license = licenses.cc-by-40;
|
||||
maintainers = [ ];
|
||||
};
|
||||
}
|
||||
@@ -527,6 +527,7 @@ mapAliases {
|
||||
emacsMacport = throw "'emacsMacport' has been renamed to/replaced by 'emacs-macport'"; # Converted to throw 2025-10-27
|
||||
emacsNativeComp = throw "'emacsNativeComp' has been renamed to/replaced by 'emacs'"; # Converted to throw 2025-10-27
|
||||
embree2 = throw "embree2 has been removed, as it is unmaintained upstream and depended on tbb_2020"; # Added 2025-09-14
|
||||
emojione = throw "emojione has beem removed, as it has been archived upstream."; # Added 2025-11-06
|
||||
EmptyEpsilon = throw "'EmptyEpsilon' has been renamed to/replaced by 'empty-epsilon'"; # Converted to throw 2025-10-27
|
||||
emulationstation = throw "emulationstation was removed due to numerous vulnerabilities in freeimage"; # Added 2025-10-23
|
||||
emulationstation-de = throw "emulationstation-de was removed due to numerous vulnerabilities in freeimage"; # Added 2025-10-23
|
||||
|
||||
Reference in New Issue
Block a user