python3Packages.dependency-injector: add changelog to meta
- disable on unsupported Python releases
This commit is contained in:
parent
950bb6ec53
commit
64421f1a3b
1 changed files with 9 additions and 2 deletions
|
@ -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 ];
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue