depot/third_party/nixpkgs/pkgs/development/python-modules/textual-dev/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

51 lines
1 KiB
Nix

{
lib,
aiohttp,
buildPythonPackage,
click,
fetchFromGitHub,
msgpack,
poetry-core,
pythonOlder,
textual,
typing-extensions,
}:
buildPythonPackage rec {
pname = "textual-dev";
version = "1.5.1";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "Textualize";
repo = "textual-dev";
rev = "refs/tags/v${version}";
hash = "sha256-QnMKVt1WxnwGnZFNb7Gbus7xewGvyG5xJ0hIKKK5hug=";
};
build-system = [ poetry-core ];
dependencies = [
aiohttp
click
msgpack
textual
typing-extensions
];
# Tests require a running textual WS server
doCheck = false;
pythonImportsCheck = [ "textual_dev" ];
meta = with lib; {
description = "Development tools for Textual";
homepage = "https://github.com/Textualize/textual-dev";
changelog = "https://github.com/Textualize/textual-dev/releases/tag/v${version}";
license = licenses.mit;
maintainers = with maintainers; [ yannip ];
mainProgram = "textual";
};
}