2021-10-28 06:52:43 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, pythonOlder
|
|
|
|
, fetchPypi
|
|
|
|
, setuptools
|
|
|
|
, typing-extensions
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2022-03-05 16:20:37 +00:00
|
|
|
pname = "simple-di";
|
|
|
|
version = "0.1.5";
|
|
|
|
format = "setuptools";
|
|
|
|
|
2021-12-06 16:07:01 +00:00
|
|
|
disabled = pythonOlder "3.6";
|
2021-10-28 06:52:43 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
2022-03-05 16:20:37 +00:00
|
|
|
pname = "simple_di";
|
|
|
|
inherit version;
|
|
|
|
hash = "sha256-GSuZne5M1PsRpdhhFlyq0C2PBhfA+Ab8Wwn5BfGgPKA=";
|
2021-10-28 06:52:43 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
setuptools
|
|
|
|
typing-extensions
|
|
|
|
];
|
|
|
|
|
2021-12-06 16:07:01 +00:00
|
|
|
pythonImportsCheck = [
|
|
|
|
"simple_di"
|
|
|
|
];
|
|
|
|
|
|
|
|
# pypi distribution contains no tests
|
|
|
|
doCheck = false;
|
|
|
|
|
2022-03-05 16:20:37 +00:00
|
|
|
meta = with lib; {
|
2021-10-28 06:52:43 +00:00
|
|
|
description = "Simple dependency injection library";
|
|
|
|
homepage = "https://github.com/bentoml/simple_di";
|
2022-03-05 16:20:37 +00:00
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ sauyon ];
|
2021-10-28 06:52:43 +00:00
|
|
|
};
|
|
|
|
}
|