27 inherit pname version;
28 format = "setuptools";
30 disabled = pythonOlder "3.9";
33 inherit pname version;
34 hash = "sha256-3UMcYzgOGMP6yjKI696M4vT5kjY6tVijwRyPIDLZCGc=";
38 # we make ansible-core depend on ansible, not the other way around
39 sed -Ei '/ansible-core/d' setup.py
42 propagatedBuildInputs = lib.unique ([
43 # Support ansible collections by default, make all others optional
59 # lots of collections with dedicated requirements.txt and pyproject.toml files,
60 # add the dependencies for the collections you need conditionally and install
61 # ansible using overrides to enable the collections you need.
62 ] ++ lib.optionals (withJunos) [
63 # ansible_collections/junipernetworks/junos/requirements.txt
70 ] ++ lib.optionals (withNetbox) [
71 # ansible_collections/netbox/netbox/pyproject.toml
75 # don't try and fail to strip 48000+ non strippable files, it takes >5 minutes!
82 description = "Radically simple IT automation";
83 mainProgram = "ansible-community";
84 homepage = "https://www.ansible.com";
85 changelog = "https://github.com/ansible-community/ansible-build-data/blob/${version}/${lib.versions.major version}/CHANGELOG-v${lib.versions.major version}.rst";
86 license = licenses.gpl3Plus;
87 maintainers = with maintainers; [ ];