fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
39 lines
754 B
Nix
39 lines
754 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
pythonOlder,
|
|
fetchPypi,
|
|
setuptools,
|
|
typing-extensions,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "simple-di";
|
|
version = "0.1.5";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
src = fetchPypi {
|
|
pname = "simple_di";
|
|
inherit version;
|
|
hash = "sha256-GSuZne5M1PsRpdhhFlyq0C2PBhfA+Ab8Wwn5BfGgPKA=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
setuptools
|
|
typing-extensions
|
|
];
|
|
|
|
pythonImportsCheck = [ "simple_di" ];
|
|
|
|
# pypi distribution contains no tests
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
description = "Simple dependency injection library";
|
|
homepage = "https://github.com/bentoml/simple_di";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ sauyon ];
|
|
};
|
|
}
|