2023-04-17 19:00:01 +02:00
|
|
|
{ stdenvNoCC
|
|
|
|
, lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
, imagemagick
|
|
|
|
, nix-update-script
|
|
|
|
, pngquant
|
|
|
|
, python3Packages
|
|
|
|
, which
|
|
|
|
, zopfli
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenvNoCC.mkDerivation rec {
|
|
|
|
pname = "whatsapp-emoji-linux";
|
2024-04-24 13:14:21 +02:00
|
|
|
version = "2.24.2.76-1";
|
2023-04-17 19:00:01 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
rev = "refs/tags/${version}";
|
|
|
|
owner = "dmlls";
|
|
|
|
repo = "whatsapp-emoji-linux";
|
2024-04-24 13:14:21 +02:00
|
|
|
hash = "sha256-BviYvhH/iu5N0+YtL4d6andbWL87LFU98pxUgt4NcsM=";
|
2023-04-17 19:00:01 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
makeFlags = [
|
|
|
|
"PREFIX=$(out)"
|
|
|
|
];
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
imagemagick
|
|
|
|
pngquant
|
|
|
|
python3Packages.nototools
|
|
|
|
which
|
|
|
|
zopfli
|
|
|
|
];
|
|
|
|
|
|
|
|
passthru.updateScript = nix-update-script { };
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "WhatsApp Emoji for GNU/Linux";
|
|
|
|
homepage = "https://github.com/dmlls/whatsapp-emoji-linux";
|
|
|
|
maintainers = [ lib.maintainers.lucasew ];
|
|
|
|
sourceProvenance = [ lib.sourceTypes.fromSource ];
|
|
|
|
license = lib.licenses.unfree;
|
|
|
|
};
|
|
|
|
}
|