2022-11-21 17:40:18 +00:00
|
|
|
{ lib, stdenv, fetchFromSourcehut
|
2021-06-28 23:13:55 +00:00
|
|
|
, meson, pkg-config, ninja
|
|
|
|
, wayland, obs-studio, libX11
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
pname = "wlrobs";
|
2023-10-09 19:29:22 +00:00
|
|
|
version = "unstable-2023-08-23";
|
2021-06-28 23:13:55 +00:00
|
|
|
|
2022-11-21 17:40:18 +00:00
|
|
|
src = fetchFromSourcehut {
|
|
|
|
vc = "hg";
|
|
|
|
owner = "~scoopta";
|
|
|
|
repo = "wlrobs";
|
2023-10-09 19:29:22 +00:00
|
|
|
rev = "f72d5cb3cbbd3983ae6cfd86cb1940be7372681c";
|
|
|
|
hash = "sha256-hiM0d38SSUqbyisP3fAtKRLBDjVKZdU2U1xyXci7yNk=";
|
2021-06-28 23:13:55 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ meson pkg-config ninja ];
|
|
|
|
buildInputs = [ wayland obs-studio libX11 ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "An obs-studio plugin that allows you to screen capture on wlroots based wayland compositors";
|
|
|
|
homepage = "https://hg.sr.ht/~scoopta/wlrobs";
|
|
|
|
maintainers = with maintainers; [ grahamc V ];
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
platforms = [ "x86_64-linux" ];
|
|
|
|
};
|
|
|
|
}
|