mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-03 18:54:42 +00:00
ansible-builder: init at 3.0.1
This commit is contained in:
parent
d52b7353cc
commit
0ef3730ed9
45
pkgs/development/python-modules/ansible-builder/default.nix
Normal file
45
pkgs/development/python-modules/ansible-builder/default.nix
Normal file
@ -0,0 +1,45 @@
|
||||
{ lib
|
||||
, python3Packages
|
||||
, podman
|
||||
, fetchPypi
|
||||
, bindep
|
||||
}:
|
||||
python3Packages.buildPythonPackage rec {
|
||||
pname = "ansible-builder";
|
||||
version = "3.0.1";
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-rxyhgj9Cad751tPAptCTLCtXQLUXaRYv39bkoFzzjOk=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = with python3Packages; [
|
||||
setuptools
|
||||
setuptools-scm
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
bindep
|
||||
];
|
||||
|
||||
propagatedBuildInputs = with python3Packages; [
|
||||
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
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "An Ansible execution environment builder";
|
||||
homepage = "https://ansible-builder.readthedocs.io/en/stable/";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ melkor333 ];
|
||||
};
|
||||
}
|
@ -18060,6 +18060,8 @@ with pkgs;
|
||||
};
|
||||
}));
|
||||
|
||||
ansible-builder = with python3Packages; toPythonApplication ansible-builder;
|
||||
|
||||
ansible-doctor = callPackage ../tools/admin/ansible/doctor.nix { };
|
||||
|
||||
dbus-test-runner = callPackage ../development/tools/dbus-test-runner { };
|
||||
|
@ -585,6 +585,8 @@ self: super: with self; {
|
||||
|
||||
ansible = callPackage ../development/python-modules/ansible { };
|
||||
|
||||
ansible-builder = callPackage ../development/python-modules/ansible-builder { };
|
||||
|
||||
ansible-compat = callPackage ../development/python-modules/ansible-compat { };
|
||||
|
||||
ansible-core = callPackage ../development/python-modules/ansible/core.nix { };
|
||||
|
Loading…
Reference in New Issue
Block a user