ansible-doctor: Remove from python-modules

This is an application, not a library.

https://ansible-doctor.geekdocs.de/usage/getting-started/
This commit is contained in:
Martin Weinelt 2023-05-16 01:09:45 +02:00
parent 43ccbe148f
commit 23b2891f60
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759
4 changed files with 6 additions and 22 deletions

View File

@ -1,28 +1,13 @@
{ lib
, anyconfig
, appdirs
, buildPythonPackage
, colorama
, environs
, fetchFromGitHub
, jinja2
, jsonschema
, nested-lookup
, pathspec
, poetry-core
, python-json-logger
, pythonOlder
, pythonRelaxDepsHook
, ruamel-yaml
, python3
}:
buildPythonPackage rec {
python3.pkgs.buildPythonApplication rec {
pname = "ansible-doctor";
version = "2.0.4";
format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "thegeeklab";
repo = "ansible-doctor";
@ -37,12 +22,12 @@ buildPythonPackage rec {
--replace 'version = "0.0.0"' 'version = "${version}"'
'';
nativeBuildInputs = [
nativeBuildInputs = with python3.pkgs; [
poetry-core
pythonRelaxDepsHook
];
propagatedBuildInputs = [
propagatedBuildInputs = with python3.pkgs; [
anyconfig
appdirs
colorama

View File

@ -17505,7 +17505,7 @@ with pkgs;
meta.changelog = "https://github.com/ansible/ansible/blob/v${version}/changelogs/CHANGELOG-v${lib.versions.majorMinor version}.rst";
}));
ansible-doctor = with python3.pkgs; toPythonApplication ansible-doctor;
ansible-doctor = callPackage ../tools/admin/ansible/doctor.nix { };
phpunit = callPackage ../development/tools/misc/phpunit { };

View File

@ -36,6 +36,7 @@ mapAliases ({
abodepy = jaraco-abode; # added 2023-02-01
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-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

@ -494,8 +494,6 @@ self: super: with self; {
ansible-core = callPackage ../development/python-modules/ansible/core.nix { };
ansible-doctor = callPackage ../development/python-modules/ansible-doctor { };
ansible-kernel = callPackage ../development/python-modules/ansible-kernel { };
ansible-later = callPackage ../development/python-modules/ansible-later { };