python312Packages.ansible-runner: refactor

This commit is contained in:
Fabian Affolter 2024-09-05 14:45:37 +02:00
parent 716ed9fa78
commit 1afc4e9ab0

View File

@ -35,7 +35,7 @@ buildPythonPackage rec {
postPatch = '' postPatch = ''
substituteInPlace pyproject.toml \ substituteInPlace pyproject.toml \
--replace '"setuptools>=45, <=69.0.2", "setuptools-scm[toml]>=6.2, <=8.0.4"' '"setuptools", "setuptools-scm"' --replace-fail '"setuptools>=45, <=69.0.2", "setuptools-scm[toml]>=6.2, <=8.0.4"' '"setuptools", "setuptools-scm"'
''; '';
build-system = [ build-system = [
@ -69,7 +69,7 @@ buildPythonPackage rec {
''; '';
disabledTests = [ disabledTests = [
# Requires network access # Tests require network access
"test_callback_plugin_task_args_leak" "test_callback_plugin_task_args_leak"
"test_env_accuracy" "test_env_accuracy"
# Times out on slower hardware # Times out on slower hardware
@ -95,9 +95,10 @@ buildPythonPackage rec {
meta = with lib; { meta = with lib; {
description = "Helps when interfacing with Ansible"; description = "Helps when interfacing with Ansible";
mainProgram = "ansible-runner";
homepage = "https://github.com/ansible/ansible-runner"; homepage = "https://github.com/ansible/ansible-runner";
changelog = "https://github.com/ansible/ansible-runner/releases/tag/${version}";
license = licenses.asl20; license = licenses.asl20;
maintainers = [ ]; maintainers = [ ];
mainProgram = "ansible-runner";
}; };
} }