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; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Obs-studio plugin that allows you to screen capture on wlroots based wayland compositors";
|
2021-06-28 23:13:55 +00:00
|
|
|
homepage = "https://hg.sr.ht/~scoopta/wlrobs";
|
2024-01-02 11:29:13 +00:00
|
|
|
maintainers = with maintainers; [ grahamc ];
|
2021-06-28 23:13:55 +00:00
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
platforms = [ "x86_64-linux" ];
|
|
|
|
};
|
|
|
|
}
|