blob: 90539b0988ca9715531da5aa7238d06d9ae2843e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
{ stdenv, fetchFromGitHub, meson, ninja, pkgconfig, wayland, wayland-protocols, ffmpeg, x264
, libpulseaudio }:
let
metadata = import ./metadata.nix;
in
stdenv.mkDerivation rec {
pname = "wf-recorder";
version = metadata.rev;
src = fetchFromGitHub {
owner = "ammen99";
repo = pname;
inherit (metadata) rev sha256;
};
nativeBuildInputs = [ meson ninja pkgconfig ];
buildInputs = [ wayland wayland-protocols ffmpeg x264 libpulseaudio ];
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;
};
}
|