biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / ansible-builder / default.nix
blob064de3b127adf985cc4765535cb2e0e2d8827dda
2   lib,
3   setuptools,
4   setuptools-scm,
5   jsonschema,
6   requirements-parser,
7   pyyaml,
8   podman,
9   fetchPypi,
10   bindep,
11   buildPythonPackage,
13 buildPythonPackage rec {
14   pname = "ansible-builder";
15   version = "3.0.1";
16   format = "pyproject";
18   src = fetchPypi {
19     inherit pname version;
20     hash = "sha256-rxyhgj9Cad751tPAptCTLCtXQLUXaRYv39bkoFzzjOk=";
21   };
23   nativeBuildInputs = [
24     setuptools
25     setuptools-scm
26   ];
28   buildInputs = [ bindep ];
30   propagatedBuildInputs = [
31     podman
32     jsonschema
33     requirements-parser
34     pyyaml
35   ];
37   patchPhase = ''
38     # the upper limits of setuptools are unnecessary
39     # See https://github.com/ansible/ansible-builder/issues/639
40     sed -i 's/, <=[0-9.]*//g' pyproject.toml
41   '';
43   meta = with lib; {
44     description = "Ansible execution environment builder";
45     homepage = "https://ansible-builder.readthedocs.io/en/stable/";
46     license = licenses.asl20;
47     maintainers = with maintainers; [ melkor333 ];
48   };