python3Packages.dependency-injector: add changelog to meta

- disable on unsupported Python releases
This commit is contained in:
Fabian Affolter 2022-12-09 09:06:55 +01:00 committed by GitHub
parent 950bb6ec53
commit 64421f1a3b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -12,17 +12,21 @@
, pytestCheckHook
, pyyaml
, six
, pythonOlder
}:
buildPythonPackage rec {
pname = "dependency-injector";
version = "4.40.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "ets-labs";
repo = "python-dependency-injector";
rev = version;
sha256 = "sha256-lcgPFdAgLmv7ILL2VVfqtGSw96aUfPv9oiOhksRtF3k=";
hash = "sha256-lcgPFdAgLmv7ILL2VVfqtGSw96aUfPv9oiOhksRtF3k=";
};
propagatedBuildInputs = [
@ -42,11 +46,14 @@ buildPythonPackage rec {
pyyaml
];
pythonImportsCheck = [ "dependency_injector" ];
pythonImportsCheck = [
"dependency_injector"
];
meta = with lib; {
description = "Dependency injection microframework for Python";
homepage = "https://github.com/ets-labs/python-dependency-injector";
changelog = "https://github.com/ets-labs/python-dependency-injector/blob/${version}/docs/main/changelog.rst";
license = licenses.bsd3;
maintainers = with maintainers; [ gerschtli ];
};