Merge pull request #114316 from jpas/wdomirror

wdomirror: init at unstable-2021-01-08
This commit is contained in:
Luke Granger-Brown 2021-04-25 13:44:41 +01:00 committed by GitHub
commit ce4f3d7213
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 40 additions and 0 deletions

View file

@ -0,0 +1,38 @@
{ lib
, stdenv
, fetchFromGitHub
, meson
, ninja
, pkg-config
, wayland
, wayland-protocols
}:
stdenv.mkDerivation {
pname = "wdomirror";
version = "unstable-2021-01-08";
src = fetchFromGitHub {
owner = "progandy";
repo = "wdomirror";
rev = "e4a4934e6f739909fbf346cbc001c72690b5c906";
sha256 = "1fz0sajhdjqas3l6mpik8w1k15wbv65hgh9r9vdgfqvw5l6cx7jv";
};
nativeBuildInputs = [ meson ninja pkg-config wayland-protocols ];
buildInputs = [ wayland ];
installPhase = ''
runHook preInstall
install -m755 -D wdomirror $out/bin/wdomirror
runHook postInstall
'';
meta = with lib; {
description = "Mirrors an output of a wlroots compositor to a window";
license = licenses.mit;
platforms = platforms.unix;
maintainers = with maintainers; [ jpas ];
};
}

View file

@ -2133,6 +2133,8 @@ in
wev = callPackage ../tools/wayland/wev { };
wdomirror = callPackage ../tools/wayland/wdomirror { };
wl-clipboard = callPackage ../tools/wayland/wl-clipboard { };
wlogout = callPackage ../tools/wayland/wlogout { };