My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/questionary/default.nix

51 lines
932 B

{ lib
, buildPythonPackage
, fetchFromGitHub
, poetry-core
, prompt-toolkit
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "questionary";
version = "1.10.0";
format = "pyproject";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "tmbo";
repo = pname;
rev = version;
sha256 = "14k24fq2nmk90iv0k7pnmmdhmk8z261397wg52sfcsccyhpdw3i7";
};
nativeBuildInputs = [
poetry-core
];
propagatedBuildInputs = [
prompt-toolkit
];
checkInputs = [
pytestCheckHook
];
disabledTests = [
# TypeError: <lambda>() missing 1 required...
"test_print_with_style"
];
pythonImportsCheck = [
"questionary"
];
meta = with lib; {
description = "Python library to build command line user prompts";
homepage = "https://github.com/tmbo/questionary";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}