anchor.diff:  { lib
  +, stdenv
   , buildPythonPackage
  +, pythonOlder
  +, pythonAtLeast
   , fetchFromGitHub
   , pillow
   , libX11
  
positive.code: 
  buildPythonPackage rec {
    pname = "clickgen";
    version = "1.1.9";
  
    src = fetchFromGitHub {
      owner = "ful1e5";
      repo = "clickgen";
      rev = "v${version}";
      sha256 = "108f3sbramd3hhs4d84s3i3lbwllfrkvjakjq4gdmbw6xpilvm0l";
    };
  
    buildInputs = [ libXcursor libX11 libpng ];
  
    propagatedBuildInputs = [ pillow ];
  
    pythonImportsCheck = [ "clickgen" ];
  
    postInstall = ''
      install -m644 clickgen/xcursorgen.so $out/${python.sitePackages}/clickgen/xcursorgen.so
    '';
  
    checkInputs = [ pytestCheckHook ];
  
    meta = with lib; {
      homepage = "https://github.com/ful1e5/clickgen";
  
negative.code:     '';
      license = licenses.mit;
      maintainers = with maintainers; [ AdsonCicilioti ];
      broken = stdenv.isDarwin;
    };
  }
  