linux_xanmod: 5.11.14 -> 5.11.15
[NixPkgs.git] / pkgs / development / python-modules / questionary / default.nix
blobecb33f6adb159e9d2da375976a3f5b9369ba2ad6
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , poetry
5 , prompt_toolkit
6 , pytest-cov
7 , pytestCheckHook
8 }:
10 buildPythonPackage rec {
11   pname = "questionary";
12   version = "1.9.0";
13   format = "pyproject";
15   src = fetchFromGitHub {
16     owner = "tmbo";
17     repo = pname;
18     rev = version;
19     sha256 = "1x748bz7l2r48031dj6vr6jvvac28pv6vx1bina4lz60h1qac1kf";
20   };
22   nativeBuildInputs = [ poetry ];
24   propagatedBuildInputs = [ prompt_toolkit ];
26   checkInputs = [
27     pytest-cov
28     pytestCheckHook
29   ];
31   pythonImportsCheck = [ "questionary" ];
33   meta = with lib; {
34     description = "Python library to build command line user prompts";
35     homepage = "https://github.com/bachya/regenmaschine";
36     license = with licenses; [ mit ];
37     maintainers = with maintainers; [ fab ];
38   };