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