typer: init at 0.3.2
This commit is contained in:
parent
6b9481607b
commit
84a2282b7b
49
pkgs/development/python-modules/typer/default.nix
Normal file
49
pkgs/development/python-modules/typer/default.nix
Normal file
|
@ -0,0 +1,49 @@
|
||||||
|
{ 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 ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -7205,6 +7205,8 @@ in {
|
||||||
|
|
||||||
typeguard = callPackage ../development/python-modules/typeguard { };
|
typeguard = callPackage ../development/python-modules/typeguard { };
|
||||||
|
|
||||||
|
typer = callPackage ../development/python-modules/typer { };
|
||||||
|
|
||||||
typesentry = callPackage ../development/python-modules/typesentry { };
|
typesentry = callPackage ../development/python-modules/typesentry { };
|
||||||
|
|
||||||
typesystem = callPackage ../development/python-modules/typesystem { };
|
typesystem = callPackage ../development/python-modules/typesystem { };
|
||||||
|
|
Loading…
Reference in a new issue