2019-05-13 17:02:41 +01:00
|
|
|
{ stdenv, fetchFromGitHub, meson, ninja, pkgconfig, wayland, wayland-protocols
|
|
|
|
, ffmpeg, x264, libpulseaudio
|
|
|
|
}:
|
2019-03-14 20:14:07 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "wf-recorder";
|
2019-05-13 17:02:41 +01:00
|
|
|
version = "0.1";
|
2019-03-14 20:14:07 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ammen99";
|
|
|
|
repo = pname;
|
2019-05-13 17:02:41 +01:00
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "1rl75r87ijja9mfyrwrsz8r4zvjnhm0103qmgyhq2phlrdpkks5d";
|
2019-03-14 20:14:07 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ meson ninja pkgconfig ];
|
2019-04-21 14:34:40 +01:00
|
|
|
buildInputs = [ wayland wayland-protocols ffmpeg x264 libpulseaudio ];
|
2019-03-14 20:14:07 +00: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;
|
|
|
|
};
|
|
|
|
}
|