default.nix (772B)
1 { 2 lib, 3 fetchFromGitHub, 4 python3Packages, 5 }: 6 7 python3Packages.buildPythonApplication { 8 pname = "telegram-send"; 9 version = "0-unstable-2023-10-07"; 10 11 src = fetchFromGitHub { 12 owner = "rahiel"; 13 repo = "telegram-send"; 14 rev = "38cd39fb0eac6c58e886c11706ae39f58991af55"; 15 hash = "sha256-DeEz1cVor2GBoQrDIHNWr5IYnPgBsTWr5xMuSM38MBw="; 16 }; 17 18 nativeBuildInputs = with python3Packages; [ pip ]; 19 20 dependencies = with python3Packages; [ 21 appdirs 22 colorama 23 python-telegram-bot 24 ]; 25 26 doCheck = false; 27 28 meta = { 29 description = "Send messages and files over Telegram from the command-line"; 30 homepage = "https://www.rahielkasim.com/telegram-send/"; 31 license = lib.licenses.gpl3Plus; 32 maintainers = [ lib.maintainers.sikmir ]; 33 }; 34 }