Commit 6c871416 authored by rewine's avatar rewine
Browse files

wdomirror: drop

parent e80d02eb
Loading
Loading
Loading
Loading
+0 −65
Original line number Diff line number Diff line
{
  lib,
  stdenv,
  fetchFromGitHub,
  meson,
  ninja,
  pkg-config,
  wayland,
  wayland-protocols,
  fetchpatch,
  wayland-scanner,
}:

stdenv.mkDerivation {
  pname = "wdomirror";
  version = "0-unstable-2021-01-08";

  src = fetchFromGitHub {
    owner = "progandy";
    repo = "wdomirror";
    rev = "e4a4934e6f739909fbf346cbc001c72690b5c906";
    sha256 = "1fz0sajhdjqas3l6mpik8w1k15wbv65hgh9r9vdgfqvw5l6cx7jv";
  };

  patches = [
    # https://github.com/progandy/wdomirror/pull/7
    (fetchpatch {
      url = "https://github.com/progandy/wdomirror/commit/142632208e9ea2b4a4ebd784532efdb8cad7b87c.patch";
      hash = "sha256-MG71IEwRAjjacAkRoB7Tn45+FbY7LAqTDkVJkoWuQUU=";
    })
  ];

  strictDeps = true;
  nativeBuildInputs = [
    meson
    ninja
    pkg-config
    wayland-scanner
  ];

  buildInputs = [
    wayland
    wayland-protocols
  ];

  installPhase = ''
    runHook preInstall
    install -m755 -D wdomirror $out/bin/wdomirror
    runHook postInstall
  '';

  postPatch = ''
    substituteInPlace meson.build \
      --replace "werror=true" "werror=false"
  '';

  meta = with lib; {
    description = "Mirrors an output of a wlroots compositor to a window";
    homepage = "https://github.com/progandy/wdomirror";
    license = licenses.mit;
    platforms = platforms.linux;
    maintainers = with maintainers; [ jpas ];
    mainProgram = "wdomirror";
  };
}
+1 −0
Original line number Diff line number Diff line
@@ -2456,6 +2456,7 @@ mapAliases {
  wkhtmltopdf-bin = wkhtmltopdf; # Added 2024-07-17
  wlroots_0_16 = throw "'wlroots_0_16' has been removed in favor of newer versions"; # Added 2024-07-14
  wlroots = wlroots_0_19; # wlroots is unstable, we must keep depending on 'wlroots_0_*', convert to package after a stable(1.x) release
  wdomirror = throw "'wdomirror' has been removed as it is unmaintained upstream, Consider using 'wl-mirror' instead"; # Added 2025-09-04
  wordpress6_3 = throw "'wordpress6_3' has been removed in favor of the latest version"; # Added 2024-08-03
  wordpress6_4 = throw "'wordpress6_4' has been removed in favor of the latest version"; # Added 2024-08-03
  wordpress6_5 = wordpress_6_5; # Added 2024-08-03