1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 poetry-core,
6 textual,
7 typing-extensions,
8 hatchling,
9}:
10buildPythonPackage rec {
11 pname = "textual-autocomplete";
12 version = "4.0.5";
13 pyproject = true;
14
15 src = fetchPypi {
16 pname = "textual_autocomplete";
17 inherit version;
18 hash = "sha256-24Bm/H2Hx0r9CDZ/j8IUS87F3b3qY6Y3JJdU6dH9h1U=";
19 };
20
21 build-system = [
22 poetry-core
23 hatchling
24 ];
25
26 dependencies = [
27 textual
28 typing-extensions
29 ];
30
31 pythonImportsCheck = [
32 "textual"
33 "typing_extensions"
34 ];
35
36 # No tests in the Pypi archive
37 doCheck = false;
38
39 meta = {
40 description = "Python library that provides autocomplete capabilities to textual";
41 homepage = "https://github.com/darrenburns/textual-autocomplete";
42 license = lib.licenses.mit;
43 maintainers = with lib.maintainers; [ jorikvanveen ];
44 };
45}