anchor.diff:      yamllint
     ];
   
  -  # no tests
  -  doCheck = false;
  -  pythonImportsCheck = [ "ansiblelater" ];
  +  checkInputs = [
  +    pytest-mock
  +    pytestCheckHook
  +  ];
  +
  +  postPatch = ''
  +    substituteInPlace pyproject.toml \
  +      --replace 'version = "0.0.0"' 'version = "${version}"' \
  +      --replace " --cov=ansiblelater --cov-report=xml:coverage.xml --cov-report=term --cov-append --no-cov-on-fail" "" \
  +      --replace 'PyYAML = "6.0"' 'PyYAML = "*"' \
  +      --replace 'unidiff = "0.7.3"' 'unidiff = "*"' \
  +      --replace 'jsonschema = "4.4.0"' 'jsonschema = "*"'
  +  '';
  +
  +  postInstall = ''
  +    rm $out/lib/python*/site-packages/LICENSE
  +  '';
  +
  +  pythonImportsCheck = [
  +    "ansiblelater"
  +  ];
   
     meta = with lib; {
  -    description = "Another best practice scanner for Ansible roles and playbooks";
  +    description = "Best practice scanner for Ansible roles and playbooks";
       homepage = "https://github.com/thegeeklab/ansible-later";
       license = licenses.mit;
       maintainers = with maintainers; [ tboerger ];
  
positive.code: 
  buildPythonPackage rec {
    pname = "ansible-later";
    version = "2.0.8";
    format = "pyproject";
  
    src = fetchFromGitHub {
      owner = "thegeeklab";
      repo = "ansible-later";
      rev = "v${version}";
      sha256 = "sha256-oPlm9uxyN3hyf4gFv37YWEn/HOkg0QQ1Ya3tjLd53rQ=";
    };
  
    postInstall = ''
      rm $out/lib/python*/site-packages/LICENSE
    '';
  
    postPatch = ''
      substituteInPlace pyproject.toml \
        --replace 'PyYAML = "6.0"' 'PyYAML = "*"' \
        --replace 'unidiff = "0.7.3"' 'unidiff = "*"' \
        --replace 'jsonschema = "4.4.0"' 'jsonschema = "*"'
    '';
  
    nativeBuildInputs = [
      poetry-core
  
negative.code: { lib
  , anyconfig
  , appdirs
  , buildPythonPackage
  , colorama
  , fetchFromGitHub
  , flake8
  , jsonschema
  , nested-lookup
  , pathspec
  , poetry-core
  , pytest-mock
  , python-json-logger
  , pytestCheckHook
  , pythonOlder
  , pyyaml
  , toolz
  , unidiff
  