1{ lib 2, stdenv 3, buildPythonPackage 4, fetchFromGitHub 5, pythonOlder 6, poetry-core 7, pytestCheckHook 8}: 9 10buildPythonPackage rec { 11 pname = "telegram-text"; 12 version = "0.1.2"; 13 pyproject = true; 14 disabled = pythonOlder "3.7"; 15 16 src = fetchFromGitHub { 17 owner = "SKY-ALIN"; 18 repo = "telegram-text"; 19 rev = "v${version}"; 20 hash = "sha256-p8SVQq7IvkVuOFE8VDugROLY5Wk0L2HmXyacTzFFSP4="; 21 }; 22 23 nativeBuildInputs = [ 24 poetry-core 25 ]; 26 27 nativeCheckInputs = [ 28 pytestCheckHook 29 ]; 30 31 meta = with lib; { 32 description = "Python markup module for Telegram messenger"; 33 downloadPage = "https://github.com/SKY-ALIN/telegram-text"; 34 homepage = "https://telegram-text.alinsky.tech/"; 35 changelog = "https://github.com/SKY-ALIN/telegram-text/blob/v${version}/CHANGELOG.md"; 36 license = licenses.mit; 37 maintainers = with maintainers; [ sikmir ]; 38 }; 39}