anchor.diff: -{fetchFromGitHub, stdenv, gtk3, pythonPackages, gobject-introspection}:
  -pythonPackages.buildPythonApplication rec {
  +{ fetchFromGitHub, lib, gobject-introspection, gtk3, python3Packages }:
  +
  +# Although we copy in the udev rules here, you probably just want to use logitech-udev-rules instead of
  +# adding this to services.udev.packages on NixOS
  +
  +python3Packages.buildPythonApplication rec {
     pname = "solaar-unstable";
     version = "2019-01-30";
   
  
positive.code:     license = licenses.gpl2;
      homepage = https://pwr.github.io/Solaar/;
      platforms = platforms.linux;
      maintainers = [maintainers.spinus maintainers.ysndr];
    };
  }
  
negative.code:     sha256 = "0xg181xcwzzs8pdqvjrkjyaaga7ir93hzjvd17j9g3ns8xfj2mvr";
    };
  
    propagatedBuildInputs = with python3Packages; [ gobject-introspection gtk3 pygobject3 pyudev ];
  
    postInstall = ''
      wrapProgram "$out/bin/solaar" \
        --prefix PYTHONPATH : "$PYTHONPATH" \
  