mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-21 05:04:00 +00:00
0215034f25
when they already rely on SRI hashes.
24 lines
615 B
Nix
24 lines
615 B
Nix
{ lib, buildPythonPackage, fetchPypi, typing-extensions }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "injector";
|
|
version = "0.20.1";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-hmG0mi+DCc5h46aoK3rLXiJcS96OF9FhDIk6Zw3/Ijo=";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|