21cecf6002
GitOrigin-RevId: dd14e5d78e90a2ccd6007e569820de9b4861a6c2
43 lines
793 B
Nix
43 lines
793 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, poetry
|
|
, prompt_toolkit
|
|
, pytest-cov
|
|
, pytestCheckHook
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "questionary";
|
|
version = "1.10.0";
|
|
format = "pyproject";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "tmbo";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "14k24fq2nmk90iv0k7pnmmdhmk8z261397wg52sfcsccyhpdw3i7";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
poetry
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
prompt_toolkit
|
|
];
|
|
|
|
checkInputs = [
|
|
pytest-cov
|
|
pytestCheckHook
|
|
];
|
|
|
|
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 ];
|
|
};
|
|
}
|