50 lines
915 B
Nix
50 lines
915 B
Nix
![]() |
{ lib
|
||
|
, buildPythonPackage
|
||
|
, fetchPypi
|
||
|
, click
|
||
|
, pytestCheckHook
|
||
|
, shellingham
|
||
|
, pytestcov
|
||
|
, pytest_xdist
|
||
|
, pytest-sugar
|
||
|
, coverage
|
||
|
, mypy
|
||
|
, black
|
||
|
, isort
|
||
|
}:
|
||
|
|
||
|
buildPythonPackage rec {
|
||
|
pname = "typer";
|
||
|
version = "0.3.2";
|
||
|
|
||
|
src = fetchPypi {
|
||
|
inherit pname version;
|
||
|
sha256 = "00v3h63dq8yxahp9vg3yb9r27l2niwv8gv0dbds9dzrc298dfmal";
|
||
|
};
|
||
|
|
||
|
propagatedBuildInputs = [ click ];
|
||
|
|
||
|
checkInputs = [
|
||
|
pytestCheckHook
|
||
|
pytestcov
|
||
|
pytest_xdist
|
||
|
pytest-sugar
|
||
|
shellingham
|
||
|
coverage
|
||
|
mypy
|
||
|
black
|
||
|
isort
|
||
|
];
|
||
|
pytestFlagsArray = [
|
||
|
"--ignore=tests/test_completion/test_completion.py"
|
||
|
"--ignore=tests/test_completion/test_completion_install.py"
|
||
|
];
|
||
|
|
||
|
meta = with lib; {
|
||
|
homepage = "https://typer.tiangolo.com/";
|
||
|
description = "Typer, build great CLIs. Easy to code. Based on Python type hints.";
|
||
|
license = licenses.mit;
|
||
|
maintainers = [ maintainers.winpat ];
|
||
|
};
|
||
|
}
|