15 lines
402 B
Nix
15 lines
402 B
Nix
{ pkgs ? import (builtins.getFlake
|
|
"github:nixos/nixpkgs/bfc1b8a4574108ceef22f02bafcf6611380c100d").outPath {}
|
|
}:
|
|
let
|
|
python = pkgs.python3.withPackages (ps: with ps; [
|
|
pillow lottie cairosvg pydantic typer httpx
|
|
]);
|
|
in pkgs.writeShellApplication {
|
|
name = "wowmine-stickers-import";
|
|
runtimeInputs = [ python pkgs.ffmpeg ];
|
|
text = ''
|
|
exec python ${./.}/import_pack.py "$@"
|
|
'';
|
|
}
|