biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / inquirer / default.nix
blob63db32d65b53eb78afb8bc3b7773c8dcedd33572
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   pythonOlder,
7   # native
8   poetry-core,
10   # propagated
11   blessed,
12   editor,
13   readchar,
15   # tests
16   pytest-mock,
17   pytestCheckHook,
18   pexpect,
21 buildPythonPackage rec {
22   pname = "inquirer";
23   version = "3.3.0";
24   pyproject = true;
26   disabled = pythonOlder "3.8";
28   src = fetchFromGitHub {
29     owner = "magmax";
30     repo = "python-inquirer";
31     rev = "refs/tags/v${version}";
32     hash = "sha256-M4EgQ/DX00CtAXRNvXoVKVWxj1jRpnNdG4qxOv20/MI=";
33   };
35   build-system = [ poetry-core ];
37   dependencies = [
38     blessed
39     editor
40     readchar
41   ];
43   nativeCheckInputs = [
44     pexpect
45     pytest-mock
46     pytestCheckHook
47   ];
49   pythonImportsCheck = [ "inquirer" ];
51   meta = with lib; {
52     description = "Collection of common interactive command line user interfaces, based on Inquirer.js";
53     homepage = "https://github.com/magmax/python-inquirer";
54     changelog = "https://github.com/magmax/python-inquirer/releases/tag/v${version}";
55     license = licenses.mit;
56     maintainers = with maintainers; [ mmahut ];
57   };