1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 6 # build-system 7 poetry-core, 8 9 # dependencies 10 aiohttp, 11 click, 12 msgpack, 13 textual, 14 textual-serve, 15 typing-extensions, 16 versionCheckHook, 17}: 18 19buildPythonPackage rec { 20 pname = "textual-dev"; 21 version = "1.7.0"; 22 pyproject = true; 23 24 src = fetchFromGitHub { 25 owner = "Textualize"; 26 repo = "textual-dev"; 27 tag = "v${version}"; 28 hash = "sha256-f/tceRELDLONzOVVpbbqa5eiXJ1QzYw3A47R/9EqEU4="; 29 }; 30 31 build-system = [ poetry-core ]; 32 33 dependencies = [ 34 aiohttp 35 click 36 msgpack 37 textual 38 textual-serve 39 typing-extensions 40 ]; 41 42 # Tests require a running textual WS server 43 doCheck = false; 44 45 pythonImportsCheck = [ "textual_dev" ]; 46 47 meta = { 48 description = "Development tools for Textual"; 49 homepage = "https://github.com/Textualize/textual-dev"; 50 changelog = "https://github.com/Textualize/textual-dev/releases/tag/v${version}"; 51 license = lib.licenses.mit; 52 maintainers = with lib.maintainers; [ yannip ]; 53 mainProgram = "textual"; 54 }; 55}