anchor.diff:      pkg-config
     ];
     nativeBuildInputs = [ meson ninja pkg-config scdoc wayland-scanner ];
  -  buildInputs = [ wayland ];
  +  buildInputs = [ wayland libvarlink ];
   
     meta = with lib; {
  -    homepage = "https://github.com/emersion/kanshi";
  +    homepage = "https://sr.ht/~emersion/kanshi";
       description = "Dynamic display configuration tool";
       longDescription = ''
         kanshi allows you to define output profiles that are automatically enabled
  
positive.code:       wlr-output-management protocol.
      '';
      license = licenses.mit;
      maintainers = with maintainers; [ balsoft ];
      platforms = platforms.linux;
    };
  }
  
negative.code: { lib
  , stdenv
  , fetchFromSourcehut
  , meson
  , ninja
  , pkg-config
  , scdoc
  , wayland
  , wayland-scanner
  , libvarlink
  }:
  
  stdenv.mkDerivation rec {
    pname = "kanshi";
    version = "1.3.0";
  
    src = fetchFromSourcehut {
      owner = "~emersion";
      repo = "kanshi";
      rev = "v${version}";
      sha256 = "kqTRJhLd9vLGAPO5U5cWeZgzWzne+0Cr4TIS0ciZSGk=";
    };
  
    strictDeps = true;
  