5e13373312
This commit was automatically generated using update-python-libraries.
35 lines
677 B
Nix
35 lines
677 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
pytestCheckHook,
|
|
pytest-cov-stub,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "injector";
|
|
version = "0.24.0";
|
|
format = "setuptools";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "python-injector";
|
|
repo = "injector";
|
|
tag = version;
|
|
hash = "sha256-Pv+3D2eyZiposXMsfhVniGNvlNGb3xSZfjIQBLMcbLA=";
|
|
};
|
|
|
|
nativeCheckInputs = [
|
|
pytestCheckHook
|
|
pytest-cov-stub
|
|
];
|
|
|
|
pythonImportsCheck = [ "injector" ];
|
|
|
|
meta = {
|
|
description = "Python dependency injection framework, inspired by Guice";
|
|
homepage = "https://github.com/alecthomas/injector";
|
|
maintainers = [ ];
|
|
license = lib.licenses.bsd3;
|
|
};
|
|
}
|