ansible-navigator: init at 24.2.0
This commit is contained in:
parent
0ef3730ed9
commit
9a2a9ff69f
3 changed files with 51 additions and 0 deletions
|
@ -0,0 +1,47 @@
|
||||||
|
{ lib
|
||||||
|
, pkgs
|
||||||
|
, python3Packages
|
||||||
|
, podman
|
||||||
|
, oniguruma
|
||||||
|
, fetchPypi
|
||||||
|
, buildPythonPackage
|
||||||
|
}:
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "ansible-navigator";
|
||||||
|
version = "24.2.0";
|
||||||
|
format = "pyproject";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
hash = "sha256-qXBhM63fFwPwo0pmEhZnZnGC8Eht8eFPfVbDkY98MGM=";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = with python3Packages; [
|
||||||
|
setuptools
|
||||||
|
setuptools-scm
|
||||||
|
];
|
||||||
|
|
||||||
|
propagatedBuildInputs = with python3Packages; [
|
||||||
|
ansible-builder
|
||||||
|
ansible-runner
|
||||||
|
podman
|
||||||
|
pkgs.ansible-lint
|
||||||
|
jinja2
|
||||||
|
jsonschema
|
||||||
|
tzdata
|
||||||
|
onigurumacffi
|
||||||
|
];
|
||||||
|
|
||||||
|
patchPhase = ''
|
||||||
|
# scm_git_archive doesn't exist anymore. Fixed upstream but unreleased
|
||||||
|
# Rev: https://github.com/ansible/ansible-navigator/pull/1716
|
||||||
|
sed -i '/setuptools_scm_git_archive/d' pyproject.toml
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "A text-based user interface (TUI) for Ansible.";
|
||||||
|
homepage = "https://ansible.readthedocs.io/projects/navigator/";
|
||||||
|
license = licenses.asl20;
|
||||||
|
maintainers = with maintainers; [ melkor333 ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -18064,6 +18064,8 @@ with pkgs;
|
||||||
|
|
||||||
ansible-doctor = callPackage ../tools/admin/ansible/doctor.nix { };
|
ansible-doctor = callPackage ../tools/admin/ansible/doctor.nix { };
|
||||||
|
|
||||||
|
ansible-navigator = with python3Packages; toPythonApplication ansible-navigator;
|
||||||
|
|
||||||
dbus-test-runner = callPackage ../development/tools/dbus-test-runner { };
|
dbus-test-runner = callPackage ../development/tools/dbus-test-runner { };
|
||||||
|
|
||||||
doq = callPackage ../development/tools/misc/doq { };
|
doq = callPackage ../development/tools/misc/doq { };
|
||||||
|
|
|
@ -593,6 +593,8 @@ self: super: with self; {
|
||||||
|
|
||||||
ansible-kernel = callPackage ../development/python-modules/ansible-kernel { };
|
ansible-kernel = callPackage ../development/python-modules/ansible-kernel { };
|
||||||
|
|
||||||
|
ansible-navigator = callPackage ../development/python-modules/ansible-navigator { };
|
||||||
|
|
||||||
ansible-pylibssh = callPackage ../development/python-modules/ansible-pylibssh { };
|
ansible-pylibssh = callPackage ../development/python-modules/ansible-pylibssh { };
|
||||||
|
|
||||||
ansible-runner = callPackage ../development/python-modules/ansible-runner { };
|
ansible-runner = callPackage ../development/python-modules/ansible-runner { };
|
||||||
|
|
Loading…
Reference in a new issue