ansible-later: Remove from python-modules

This is an application, not a library.
This commit is contained in:
Martin Weinelt 2023-05-16 09:48:23 +02:00
parent 23b2891f60
commit fab6fc3532
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759
4 changed files with 7 additions and 29 deletions

View File

@ -1,34 +1,13 @@
{ lib
, ansible
, ansible-core
, anyconfig
, appdirs
, buildPythonPackage
, colorama
, fetchFromGitHub
, flake8
, jsonschema
, nested-lookup
, pathspec
, poetry-core
, pytest-mock
, python-json-logger
, pytestCheckHook
, pythonRelaxDepsHook
, pythonOlder
, pyyaml
, toolz
, unidiff
, yamllint
, python3
}:
buildPythonPackage rec {
python3.pkgs.buildPythonApplication rec {
pname = "ansible-later";
version = "3.3.1";
format = "pyproject";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "thegeeklab";
repo = pname;
@ -53,12 +32,12 @@ buildPythonPackage rec {
"yamllint"
];
nativeBuildInputs = [
nativeBuildInputs = with python3.pkgs; [
poetry-core
pythonRelaxDepsHook
];
propagatedBuildInputs = [
propagatedBuildInputs = with python3.pkgs; [
ansible
ansible-core
anyconfig
@ -75,7 +54,7 @@ buildPythonPackage rec {
yamllint
];
nativeCheckInputs = [
nativeCheckInputs = with python3.pkgs; [
pytest-mock
pytestCheckHook
];

View File

@ -17565,7 +17565,7 @@ with pkgs;
zig = buildPackages.zig_0_10;
};
ansible-later = with python3.pkgs; toPythonApplication ansible-later;
ansible-later = callPackage ../tools/admin/ansible/later.nix { };
ansible-lint = callPackage ../tools/admin/ansible/lint.nix { };

View File

@ -37,6 +37,7 @@ mapAliases ({
aioh2 = throw "aioh2 has been removed because it is abandoned and broken."; # Added 2022-03-30
ansible-base = throw "ansible-base has been removed, because it is end of life"; # added 2022-03-30
ansible-doctor = throw "ansible-doctor has been promoted to a top-level attribute"; # Added 2023-05-16
ansible-later = throw "ansible-later has been promoted to a top-level attribute"; # Added 2023-05-16
ansible-lint = throw "ansible-lint has been promoted to a top-level attribute"; # Added 2023-05-16
anyjson = throw "anyjson has been removed, it was using setuptools 2to3 translation feature, which has been removed in setuptools 58"; # added 2022-01-18
argon2_cffi = argon2-cffi; # added 2022-05-09

View File

@ -496,8 +496,6 @@ self: super: with self; {
ansible-kernel = callPackage ../development/python-modules/ansible-kernel { };
ansible-later = callPackage ../development/python-modules/ansible-later { };
ansible-runner = callPackage ../development/python-modules/ansible-runner { };
ansi = callPackage ../development/python-modules/ansi { };