anchor.diff:      owner = "CERT-Polska";
       repo = pname;
       rev = "v${version}";
  -    sha256 = "sha256-AG2CtNMgXYfbdlOqB1ZdjMT8H67fsSMXTgiFg6K41IQ=";
  +    hash = "sha256-TRmAin0TAOIwR5EBMwTOJ9QaHO+mOx/eAjgqvyQZDj4=";
     };
   
     propagatedBuildInputs = [
  
positive.code: 
  buildPythonPackage rec {
    pname = "karton-classifier";
    version = "1.2.0";
  
    disabled = pythonOlder "3.7";
  
  
negative.code:     python-magic
    ];
  
    checkInputs = [
      pytestCheckHook
    ];
  
    postPatch = ''
      substituteInPlace requirements.txt \
        --replace "chardet==3.0.4" "chardet" \
        --replace "python-magic==0.4.18" "python-magic"
    '';
  
    pythonImportsCheck = [
      "karton.classifier"
    ];
  
    disabledTests = [
      # Tests expecting results from a different version of libmagic
      "test_process_archive_ace"
      "test_process_runnable_win32_lnk"
    ];
  
    meta = with lib; {
      description = "File type classifier for the Karton framework";
  