2019-05-13 18:02:41 +02:00
|
|
|
{ stdenv, fetchFromGitHub, meson, ninja, pkgconfig, wayland, wayland-protocols
|
|
|
|
, ffmpeg, x264, libpulseaudio
|
|
|
|
}:
|
2019-03-14 21:14:07 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "wf-recorder";
|
2019-05-13 18:02:41 +02:00
|
|
|
version = "0.1";
|
2019-03-14 21:14:07 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ammen99";
|
|
|
|
repo = pname;
|
2019-05-13 18:02:41 +02:00
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "1rl75r87ijja9mfyrwrsz8r4zvjnhm0103qmgyhq2phlrdpkks5d";
|
2019-03-14 21:14:07 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ meson ninja pkgconfig ];
|
2019-04-21 15:34:40 +02:00
|
|
|
buildInputs = [ wayland wayland-protocols ffmpeg x264 libpulseaudio ];
|
2019-03-14 21:14:07 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Utility program for screen recording of wlroots-based compositors";
|
|
|
|
homepage = https://github.com/ammen99/wf-recorder;
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ CrazedProgrammer ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|