python3Packages.typer-injector: init at 0.2.0

This commit is contained in:
Robert Schütz
2026-01-01 03:37:29 -08:00
parent e74089fb1d
commit 8993cd1d59
2 changed files with 46 additions and 0 deletions
@@ -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 ];
};
}
+2
View File
@@ -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 { };