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