maunium-stickerpicker-nix/python/sigstickers.nix
teutat3s f19ee88860
refactor: only download stickers with nix,
manually invoke sticker-pack from the devshell to upload stickers to
matrix, to avoid leaking the access token from config.json to the nix
store.

Nixify SigStickers https://github.com/FHPythonUtils/SigStickers and
dependency https://github.com/signalstickers/signalstickers-client to
download Signal stickers
2024-04-29 00:12:49 +02:00

29 lines
475 B
Nix

{
buildPythonPackage,
fetchPypi,
setuptools,
emoji,
loguru,
pillow,
signalstickers-client
}:
buildPythonPackage rec {
pname = "sigstickers";
version = "2024.1";
src = fetchPypi {
pname = "sigstickers";
inherit version;
sha256 = "sha256-hIfyQokEOzb1kkTIa8/ieCRNuLGUcMDhbIBSpvBVd9o=";
};
propagatedBuildInputs = [
setuptools
emoji
loguru
pillow
signalstickers-client
];
format = "pyproject";
checkInputs = [
];
}