46 lines
858 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
poetry-core,
textual,
typing-extensions,
hatchling,
}:
buildPythonPackage rec {
pname = "textual-autocomplete";
version = "4.0.5";
pyproject = true;
src = fetchPypi {
pname = "textual_autocomplete";
inherit version;
hash = "sha256-24Bm/H2Hx0r9CDZ/j8IUS87F3b3qY6Y3JJdU6dH9h1U=";
};
build-system = [
poetry-core
hatchling
];
dependencies = [
textual
typing-extensions
];
pythonImportsCheck = [
"textual"
"typing_extensions"
];
# No tests in the Pypi archive
doCheck = false;
meta = {
description = "Python library that provides autocomplete capabilities to textual";
homepage = "https://github.com/darrenburns/textual-autocomplete";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ jorikvanveen ];
};
}