anchor.diff:     toml
     ];
   
  -  # tests fails if stdin is not a tty
  -  checkPhase = "echo | script -c 'pytest ./test/test.py'";
  +  checkPhase = "pytest ./test/test.py";
   
     pythonImportsCheck = [ "yq" ];
   
  
positive.code:   doCheck = true;
  
    checkInputs = [
     unixtools.script
     pytest
     coverage
     flake8
  
negative.code:     sha256 = "1q4rky0a6n4izmq7slb91a54g8swry1xrbfqxwc8lkd3hhvlxxkl";
    };
  
    postPatch = ''
      substituteInPlace test/test.py --replace "expect_exit_codes={0} if sys.stdin.isatty() else {2}" "expect_exit_codes={0}"
    '';
  
    propagatedBuildInputs = [
      pyyaml
      xmltodict
  