24 buildPythonPackage rec {
25 pname = "ansible-later";
29 disabled = pythonOlder "3.8";
31 src = fetchFromGitHub {
34 rev = "refs/tags/v${version}";
35 hash = "sha256-FQnyWC7d9h8Ya2BlaTGTrNXkHtJJLdeNL7qXP7scLFA=";
39 substituteInPlace pyproject.toml \
40 --replace 'version = "0.0.0"' 'version = "${version}"' \
41 --replace " --cov=ansiblelater --cov-report=xml:coverage.xml --cov-report=term --cov-append --no-cov-on-fail" "" \
42 --replace 'PyYAML = "6.0"' 'PyYAML = "*"' \
43 --replace 'unidiff = "0.7.3"' 'unidiff = "*"' \
44 --replace 'jsonschema = "' 'jsonschema = "^' \
45 --replace 'python-json-logger = "' 'python-json-logger = "^' \
46 --replace 'toolz = "0.11.2' 'toolz = "*' \
47 --replace 'yamllint = "' 'yamllint = "^'
54 propagatedBuildInputs = [
77 rm $out/lib/python*/site-packages/LICENSE
80 pythonImportsCheck = [
85 description = "Best practice scanner for Ansible roles and playbooks";
86 homepage = "https://github.com/thegeeklab/ansible-later";
87 license = licenses.mit;
88 maintainers = with maintainers; [ tboerger ];