depot/third_party/nixpkgs/pkgs/development/python-modules/injector/default.nix
Default email 889482aab3 Project import generated by Copybara.
GitOrigin-RevId: f2537a505d45c31fe5d9c27ea9829b6f4c4e6ac5
2022-06-26 12:26:21 +02:00

23 lines
617 B
Nix

{ lib, buildPythonPackage, fetchPypi, typing-extensions }:
buildPythonPackage rec {
pname = "injector";
version = "0.20.0";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-DILe3I4TVOj9Iqs9mbiL3e9t7bnHfWwixNids9FYN/U=";
};
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;
};
}