2021-07-03 15:02:23 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub
|
|
|
|
, meson, ninja, pkg-config, scdoc, wayland-scanner
|
|
|
|
, wayland, wayland-protocols, ffmpeg, x264, libpulseaudio, ocl-icd, opencl-headers
|
2019-05-13 16:02:41 +00:00
|
|
|
}:
|
2019-03-14 20:14:07 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "wf-recorder";
|
2020-04-14 19:04:17 +00:00
|
|
|
version = "0.2.1";
|
2019-03-14 20:14:07 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ammen99";
|
|
|
|
repo = pname;
|
2019-05-13 16:02:41 +00:00
|
|
|
rev = "v${version}";
|
2020-04-14 19:04:17 +00:00
|
|
|
sha256 = "1cw6kpcbl33wh95pvy32xrsrm6kkk1awccr3phyh885xjs3b3iim";
|
2019-03-14 20:14:07 +00:00
|
|
|
};
|
|
|
|
|
2021-07-03 15:02:23 +00:00
|
|
|
nativeBuildInputs = [ meson ninja pkg-config wayland-scanner scdoc ];
|
2020-03-01 17:24:57 +00:00
|
|
|
buildInputs = [
|
2021-07-03 15:02:23 +00:00
|
|
|
wayland wayland-protocols ffmpeg x264 libpulseaudio ocl-icd opencl-headers
|
2020-03-01 17:24:57 +00:00
|
|
|
];
|
2019-03-14 20:14:07 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2019-03-14 20:14:07 +00:00
|
|
|
description = "Utility program for screen recording of wlroots-based compositors";
|
2020-03-01 17:24:57 +00:00
|
|
|
inherit (src.meta) homepage;
|
|
|
|
changelog = "https://github.com/ammen99/wf-recorder/releases/tag/v${version}";
|
2019-03-14 20:14:07 +00:00
|
|
|
license = licenses.mit;
|
2020-03-01 17:24:57 +00:00
|
|
|
maintainers = with maintainers; [ primeos CrazedProgrammer ];
|
2019-03-14 20:14:07 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|