anchor.diff: -{ lib, buildPythonPackage, snap7, fetchFromGitHub, six, setuptools }:
  +{ lib
  +, buildPythonPackage
  +, snap7
  +, fetchFromGitHub
  +, setuptools
  +, pythonOlder
  +}:
   
   buildPythonPackage rec {
     pname = "python-snap7";
     version = "1.2";
  +  format = "setuptools";
  +
  +  disabled = pythonOlder "3.6";
   
     src = fetchFromGitHub {
       owner = "gijzelaerr";
       repo = "python-snap7";
       rev = "refs/tags/${version}";
  -    sha256 = "sha256-xkkJE3wTqS6spwEmQ+HBY1Szao1VFoqmQ041vnAYuqQ=";
  +    hash = "sha256-xkkJE3wTqS6spwEmQ+HBY1Szao1VFoqmQ041vnAYuqQ=";
     };
   
  -  propagatedBuildInputs = [ setuptools six ];
  +  propagatedBuildInputs = [
  +    setuptools
  +  ];
   
     prePatch = ''
       substituteInPlace snap7/common.py \
  
positive.code:   ];
  
    meta = with lib; {
      description = "Python wrapper for the snap7 PLC communication library ";
      homepage = "https://github.com/gijzelaerr/python-snap7";
      license = licenses.mit;
      maintainers = with maintainers; [ freezeboy ];
  
negative.code:   '';
  
    # Tests require root privileges to open privilaged ports
    doCheck = false;
  
    pythonImportsCheck = [
  