forked from mirrors/nixpkgs
Merge pull request #145187 from mweinelt/ansible
This commit is contained in:
commit
634f792cd7
|
@ -23,17 +23,17 @@
|
|||
|
||||
let
|
||||
ansible-collections = callPackage ./collections.nix {
|
||||
version = "4.7.0";
|
||||
sha256 = "0aab9id6dqfw2111r731c7y1p77dpzczynmgl4d989p3a7n54z0b";
|
||||
version = "4.8.0";
|
||||
sha256 = "0dlfmvh7jqna6rig39wrnxhklc3k5a3ky3bfq73dqbmcr5hzli8k";
|
||||
};
|
||||
in
|
||||
buildPythonPackage rec {
|
||||
pname = "ansible-core";
|
||||
version = "2.11.6";
|
||||
version = "2.12.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-k9UCg8fFtHbev4PcCJs/Z5uTmouae11ijSjar7s9MDo=";
|
||||
sha256 = "sha256-DpBJoauLjFTdyAc43AqytXhwvm/kzU5VhdRxVHq3SxM=";
|
||||
};
|
||||
|
||||
# ansible_connection is already wrapped, so don't pass it through
|
||||
|
|
|
@ -1,9 +1,19 @@
|
|||
{ python3Packages, fetchurl, fetchFromGitHub }:
|
||||
{ python3Packages, fetchFromGitHub }:
|
||||
|
||||
rec {
|
||||
ansible = ansible_2_11;
|
||||
ansible = ansible_2_12;
|
||||
|
||||
ansible_2_11 = python3Packages.toPythonApplication python3Packages.ansible-core;
|
||||
ansible_2_12 = python3Packages.toPythonApplication python3Packages.ansible-core;
|
||||
|
||||
ansible_2_11 = python3Packages.toPythonApplication (python3Packages.ansible-core.overridePythonAttrs (old: rec {
|
||||
pname = "ansible-core";
|
||||
version = "2.11.6";
|
||||
|
||||
src = python3Packages.fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-k9UCg8fFtHbev4PcCJs/Z5uTmouae11ijSjar7s9MDo=";
|
||||
};
|
||||
}));
|
||||
|
||||
ansible_2_10 = python3Packages.toPythonApplication python3Packages.ansible-base;
|
||||
|
||||
|
|
Loading…
Reference in a new issue