anchor.diff:    propagatedBuildInputs = [ evdev pygobject3 pylibacl vdf ];
   
     checkInputs = [ pytestCheckHook ];
  +
  +  patches = [
  +    # Fix a broken test
  +    (fetchpatch {
  +      url = "https://github.com/Ryochan7/sc-controller/pull/73.patch";
  +      sha256 = "sha256-qU8hIReZE3cEPCMOFc4RCUCIhiS0gJ3PushMkfDlPns=";
  +     })
  +  ];
   
     postPatch = ''
       substituteInPlace scc/paths.py --replace sys.prefix "'$out'"
  
positive.code: { lib, buildPythonApplication, fetchFromGitHub, wrapGAppsHook
  , pytestCheckHook
  , gtk3, gobject-introspection, libappindicator-gtk3, librsvg
  , evdev, pygobject3, pylibacl, bluez, vdf
  , linuxHeaders
  
negative.code: 
  buildPythonApplication rec {
    pname = "sc-controller";
    version = "0.4.8.9";
  
    src = fetchFromGitHub {
      owner  = "Ryochan7";
      repo   = pname;
      rev    = "v${version}";
      sha256 = "sha256-ym5fkOTRhibBaUqT0+p/jyqqKOVsyMz5INgfkoz0IJA=";
    };
  
    # see https://github.com/NixOS/nixpkgs/issues/56943
  