depot/third_party/nixpkgs/pkgs/development/python-modules/injector/default.nix
Default email 893b09d324 Project import generated by Copybara.
GitOrigin-RevId: eac07edbd20ed4908b98790ba299250b5527ecdf
2021-12-24 12:21:11 +08:00

23 lines
630 B
Nix

{ lib, buildPythonPackage, fetchPypi, typing-extensions }:
buildPythonPackage rec {
pname = "injector";
version = "0.19.0";
src = fetchPypi {
inherit pname version;
sha256 = "3eaaf51cd3ba7be1354d92a5210c8bba43dd324300eafd214e1f2568834a912f";
};
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;
};
}