anchor.diff:      "-Dxwayland=${lib.boolToString withXwayland}"
     ];
   
  +  # TODO: investigate why is this happening
     postPatch = ''
       sed -i -e 's|<drm_fourcc.h>|<libdrm/drm_fourcc.h>|' *.c
     '';
   
     postInstall = ''
  -    mkdir -p $contrib/share/cagebreak
  -    cp $src/examples/config $contrib/share/cagebreak/config
  +    install -d $contrib/share/cagebreak/
  +    install -m644 $src/examples/config $contrib/share/cagebreak/
     '';
   
     postFixup = lib.optionalString withXwayland ''
       wrapProgram $out/bin/cagebreak --prefix PATH : "${xwayland}/bin"
     '';
   
  +  meta = with lib; {
  +    homepage = "https://github.com/project-repo/cagebreak";
  +    description = "A Wayland tiling compositor inspired by ratpoison";
  +    license = licenses.mit;
  +    maintainers = with maintainers; [ berbiche ];
  +    platforms = platforms.linux;
  +  };
  +
     passthru.tests.basic = nixosTests.cagebreak;
  -
  -  meta = with lib; {
  -    description = "A Wayland tiling compositor inspired by ratpoison";
  -    homepage = "https://github.com/project-repo/cagebreak";
  -    license = licenses.mit;
  -    platforms = platforms.linux;
  -    maintainers = with maintainers; [ berbiche ];
  -  };
   }
  
positive.code: , meson
  , ninja
  , nixosTests
  , pandoc
  , pango
  , pixman
  , pkg-config
  
negative.code: 
  stdenv.mkDerivation rec {
    pname = "cagebreak";
    version = "1.7.1";
  
    src = fetchFromGitHub {
      owner = "project-repo";
      repo = pname;
      rev = version;
      hash = "sha256-1IztedN5/I/4TDKHLJ26fSrDsvJ5QAr+cbzS2PQITDE=";
    };
  
    nativeBuildInputs = [
      makeWrapper
      meson
      ninja
      pkg-config
      scdoc
      wayland
  