2021-06-28 23:13:55 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, typing-extensions }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "injector";
|
2021-12-24 04:21:11 +00:00
|
|
|
version = "0.19.0";
|
2021-06-28 23:13:55 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-12-24 04:21:11 +00:00
|
|
|
sha256 = "3eaaf51cd3ba7be1354d92a5210c8bba43dd324300eafd214e1f2568834a912f";
|
2021-06-28 23:13:55 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ typing-extensions ];
|
|
|
|
|
|
|
|
doCheck = false; # No tests are available
|
|
|
|
pythonImportsCheck = [ "injector" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Python dependency injection framework, inspired by Guice";
|
|
|
|
homepage = "https://github.com/alecthomas/injector";
|
|
|
|
maintainers = [ maintainers.ivar ];
|
|
|
|
license = licenses.bsd3;
|
|
|
|
};
|
|
|
|
}
|