python3Packages.ansible-doctor: 1.2.1 -> 1.2.4
This commit is contained in:
parent
a6633d255f
commit
d3ea16638b
|
@ -1,6 +1,7 @@
|
||||||
{ buildPythonPackage
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, lib
|
, pythonOlder
|
||||||
|
|
||||||
# pythonPackages
|
# pythonPackages
|
||||||
, anyconfig
|
, anyconfig
|
||||||
|
@ -18,14 +19,16 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "ansible-doctor";
|
pname = "ansible-doctor";
|
||||||
version = "1.2.1";
|
version = "1.2.4";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "thegeeklab";
|
owner = "thegeeklab";
|
||||||
repo = "ansible-doctor";
|
repo = "ansible-doctor";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-2Jaf7asU4c7kw9v9dUYDL4/M2Y/2qhMM3m0jqYiobUI=";
|
hash = "sha256-e0FmV4U96TSC/dYJlgo5AeLdXQ7Z7rrP4JCtBxJdkhU=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
|
@ -34,6 +37,7 @@ buildPythonPackage rec {
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace pyproject.toml \
|
substituteInPlace pyproject.toml \
|
||||||
|
--replace 'anyconfig = "0.13.0"' 'anyconfig = "*"' \
|
||||||
--replace 'environs = "9.5.0"' 'environs = "*"' \
|
--replace 'environs = "9.5.0"' 'environs = "*"' \
|
||||||
--replace 'jsonschema = "4.4.0"' 'jsonschema = "*"' \
|
--replace 'jsonschema = "4.4.0"' 'jsonschema = "*"' \
|
||||||
--replace '"ruamel.yaml" = "0.17.21"' '"ruamel.yaml" = "*"'
|
--replace '"ruamel.yaml" = "0.17.21"' '"ruamel.yaml" = "*"'
|
||||||
|
@ -58,7 +62,10 @@ buildPythonPackage rec {
|
||||||
|
|
||||||
# no tests
|
# no tests
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
pythonImportsCheck = [ "ansibledoctor" ];
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"ansibledoctor"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Annotation based documentation for your Ansible roles";
|
description = "Annotation based documentation for your Ansible roles";
|
||||||
|
|
Loading…
Reference in a new issue