1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-18 10:56:53 +00:00
nixpkgs/pkgs/applications/video/wf-recorder/default.nix

30 lines
908 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, meson, ninja, pkg-config, wayland, scdoc
2020-06-13 03:31:01 +01:00
, wayland-protocols, ffmpeg, x264, libpulseaudio, ocl-icd, opencl-headers
}:
stdenv.mkDerivation rec {
pname = "wf-recorder";
2020-04-14 20:04:17 +01:00
version = "0.2.1";
src = fetchFromGitHub {
owner = "ammen99";
repo = pname;
rev = "v${version}";
2020-04-14 20:04:17 +01:00
sha256 = "1cw6kpcbl33wh95pvy32xrsrm6kkk1awccr3phyh885xjs3b3iim";
};
2020-03-01 17:24:57 +00:00
nativeBuildInputs = [ meson ninja pkg-config wayland scdoc ];
buildInputs = [
2020-06-13 03:31:01 +01:00
wayland-protocols ffmpeg x264 libpulseaudio ocl-icd opencl-headers
2020-03-01 17:24:57 +00:00
];
meta = with lib; {
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}";
license = licenses.mit;
2020-03-01 17:24:57 +00:00
maintainers = with maintainers; [ primeos CrazedProgrammer ];
platforms = platforms.linux;
};
}