blob: 0d33da935af4e401fed5021f0fea8e0a678eb669 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
pytest-cov-stub,
}:
buildPythonPackage rec {
pname = "injector";
version = "0.22.0";
format = "setuptools";
src = fetchFromGitHub {
owner = "python-injector";
repo = "injector";
tag = version;
hash = "sha256-FRO/stQDTa4W1f6mLPDCJslYFfIvgS0EgoEhuh0rxwA=";
};
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;
};
}
|