python3Packages.ansible-core: 2.12.5 -> 2.13.0

Creates the ansible_2_13 attribute and keeps ansible_2_12 using an override.

https://groups.google.com/g/ansible-announce/c/AEjCH6lMkZ0
https://github.com/ansible/ansible/blob/v2.13.0/changelogs/CHANGELOG-v2.13.rst
This commit is contained in:
Martin Weinelt 2022-05-17 00:52:31 +02:00
parent ff691ed9ba
commit 669283f06a
No known key found for this signature in database
GPG key ID: 87C1E9888F856759
2 changed files with 10 additions and 3 deletions

View file

@ -24,11 +24,11 @@
buildPythonPackage rec {
pname = "ansible-core";
version = "2.12.5";
version = "2.13.0";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-HMyZRPEBMxra0e1A1axmqBSRMwUq402wJnp0qnO+67M=";
sha256 = "sha256-COD7SnGNlnplTnDNpXz5MgGGkyndHPW4pCZ8V8XEyNM=";
};
# ansible_connection is already wrapped, so don't pass it through

View file

@ -14805,7 +14805,14 @@ with pkgs;
autoadb = callPackage ../misc/autoadb { };
ansible = ansible_2_12;
ansible_2_12 = python3Packages.toPythonApplication python3Packages.ansible-core;
ansible_2_13 = python3Packages.toPythonApplication python3Packages.ansible-core;
ansible_2_12 = python3Packages.toPythonApplication (python3Packages.ansible-core.overridePythonAttrs (oldAttrs: rec {
version = "2.12.5";
src = oldAttrs.src.override {
inherit version;
hash = "sha256-HMyZRPEBMxra0e1A1axmqBSRMwUq402wJnp0qnO+67M=";
};
}));
ansible-doctor = with python3.pkgs; toPythonApplication ansible-doctor;