28 inherit pname version;
29 format = "setuptools";
31 disabled = pythonOlder "3.9";
34 inherit pname version;
35 hash = "sha256-XBIEiDGmaQ/IZd/gPcirYcO6CLXQGySaFrJHrZmmC8A=";
39 # we make ansible-core depend on ansible, not the other way around
40 sed -Ei '/ansible-core/d' setup.py
43 propagatedBuildInputs = lib.unique (
45 # Support ansible collections by default, make all others optional
61 # lots of collections with dedicated requirements.txt and pyproject.toml files,
62 # add the dependencies for the collections you need conditionally and install
63 # ansible using overrides to enable the collections you need.
65 ++ lib.optionals (withJunos) [
66 # ansible_collections/junipernetworks/junos/requirements.txt
74 ++ lib.optionals (withNetbox) [
75 # ansible_collections/netbox/netbox/pyproject.toml
80 # don't try and fail to strip 48000+ non strippable files, it takes >5 minutes!
87 description = "Radically simple IT automation";
88 mainProgram = "ansible-community";
89 homepage = "https://www.ansible.com";
90 changelog = "https://github.com/ansible-community/ansible-build-data/blob/${version}/${lib.versions.major version}/CHANGELOG-v${lib.versions.major version}.rst";
91 license = licenses.gpl3Plus;