anchor.diff:    '';
   
     enableParallelBuilding = true;
  -
     meta = with lib; {
       description = "Linux devices manager for the Logitech Unifying Receiver";
       longDescription = ''
  
positive.code:       To be able to use it, make sure you have access to /dev/hidraw* files.
      '';
      license = licenses.gpl2;
      homepage = https://pwr.github.io/Solaar/;
      platforms = platforms.linux;
      maintainers = with maintainers; [ spinus ysndr ];
    };
  
negative.code: { 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";
    version = "1.0.1";
    src = fetchFromGitHub {
      owner = "pwr-Solaar";
      repo = "Solaar";
      rev = "${version}";
      sha256 = "1ni3aimpl9vyhwzi61mvm8arkii52cmb6bzjma9cnkjyx328pkid";
    };
  
    propagatedBuildInputs = with python3Packages; [ gobject-introspection gtk3 pygobject3 pyudev ];
  