python3Packages.typer-injector: init at 0.2.0
This commit is contained in:
@@ -0,0 +1,44 @@
|
||||
{
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
hatch-vcs,
|
||||
hatchling,
|
||||
lib,
|
||||
pytestCheckHook,
|
||||
typer-slim,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "typer-injector";
|
||||
version = "0.2.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "BenjyWiener";
|
||||
repo = "typer-injector";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-nwEYFw+4jeF/SoaZWR51VWRezqBFjGoLiVgJWdPNoIk=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
hatch-vcs
|
||||
hatchling
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
typer-slim
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "typer_injector" ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Dependency injection for Typer";
|
||||
homepage = "https://github.com/BenjyWiener/typer-injector";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = [ lib.maintainers.dotlambda ];
|
||||
};
|
||||
}
|
||||
@@ -19421,6 +19421,8 @@ self: super: with self; {
|
||||
|
||||
typer-config = callPackage ../development/python-modules/typer-config { };
|
||||
|
||||
typer-injector = callPackage ../development/python-modules/typer-injector { };
|
||||
|
||||
typer-shell = callPackage ../development/python-modules/typer-shell { };
|
||||
|
||||
typer-slim = callPackage ../development/python-modules/typer-slim { };
|
||||
|
||||
Reference in New Issue
Block a user