python311Packages.ansible-compat: add changelog to meta

- disable on unsupported Python releases
This commit is contained in:
Fabian Affolter 2023-05-13 10:00:41 +02:00 committed by GitHub
parent b37cb54312
commit aacb05b3e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,6 +8,7 @@
, pyyaml
, setuptools-scm
, subprocess-tee
, pythonOlder
}:
buildPythonPackage rec {
@ -15,6 +16,8 @@ buildPythonPackage rec {
version = "4.0.2";
format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-JbDcWro8Q+DP3JFATlcErphX5mTCEPf4SlVm4A111/M=";
@ -55,11 +58,14 @@ buildPythonPackage rec {
"test_runtime"
];
pythonImportsCheck = [ "ansible_compat" ];
pythonImportsCheck = [
"ansible_compat"
];
meta = with lib; {
description = "A python package containing functions that help interacting with various versions of Ansible";
description = "Function collection that help interacting with various versions of Ansible";
homepage = "https://github.com/ansible/ansible-compat";
changelog = "https://github.com/ansible/ansible-compat/releases/tag/v${version}";
license = licenses.mit;
maintainers = with maintainers; [ ];
};