ocamlPackages.hxd: 0.3.2 -> 0.3.3 (#364231)
[NixPkgs.git] / pkgs / development / python-modules / inquirer / default.nix
blob331b98809bef8e2ca5a8c803bb4dc891d9f520b8
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.4.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-vIW/rD22PFND9EPjS0YPbIauKgh9KHh1gXf1L8g/f10=";
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   };