@@ -0,0 +1,24 @@
1+{ stdenv, fetchFromGitHub, meson, ninja, pkgconfig, wayland, wayland-protocols, ffmpeg, x264 }:
2+
3+stdenv.mkDerivation rec {
4+ pname = "wf-recorder";
5+ version = "unstable-2019-03-12";
6+
7+ src = fetchFromGitHub {
8+ owner = "ammen99";
9+ repo = pname;
10+ rev = "e6ea77a2569c04975cab8655f5ad4dbcf86df1f5";
11+ sha256 = "1jhj5syzy8i8f9b3j4g12jmc5fcsiv4df9hgribdvw61v5pfz9g1";
12+ };
13+
14+ nativeBuildInputs = [ meson ninja pkgconfig ];
15+ buildInputs = [ wayland wayland-protocols ffmpeg x264 ];
16+
17+ meta = with stdenv.lib; {
18+ description = "Utility program for screen recording of wlroots-based compositors";
19+ homepage = https://github.com/ammen99/wf-recorder;
20+ license = licenses.mit;
21+ maintainers = with maintainers; [ CrazedProgrammer ];
22+ platforms = platforms.linux;
23+ };
24+}