python3Packages.ansible-builder: 3.0.1 -> 3.1.0

This commit is contained in:
Martin Weinelt
2024-10-13 11:02:56 +02:00
parent 048f11fd4b
commit b3fc5bdfad
@@ -10,36 +10,38 @@
bindep,
buildPythonPackage,
}:
buildPythonPackage rec {
pname = "ansible-builder";
version = "3.0.1";
format = "pyproject";
version = "3.1.0";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-rxyhgj9Cad751tPAptCTLCtXQLUXaRYv39bkoFzzjOk=";
pname = "ansible_builder";
inherit version;
hash = "sha256-0txXPianvVCV6YrrN+6bALyfUAWr6nFH10IpwPNCb8s=";
};
nativeBuildInputs = [
setuptools
setuptools-scm
];
buildInputs = [ bindep ];
propagatedBuildInputs = [
podman
jsonschema
requirements-parser
pyyaml
];
patchPhase = ''
# the upper limits of setuptools are unnecessary
# See https://github.com/ansible/ansible-builder/issues/639
sed -i 's/, <=[0-9.]*//g' pyproject.toml
'';
build-system = [
setuptools
setuptools-scm
];
buildInputs = [ bindep ];
dependencies = [
podman
jsonschema
requirements-parser
pyyaml
];
meta = with lib; {
description = "Ansible execution environment builder";
homepage = "https://ansible-builder.readthedocs.io/en/stable/";