mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-13 21:32:23 +03:00
f7997354b7
This makes things more explicit (and less confusing) but only touches the packages that I maintain.
31 lines
942 B
Nix
31 lines
942 B
Nix
{ lib, stdenv, fetchFromGitHub
|
|
, meson, ninja, pkg-config, scdoc, wayland-scanner
|
|
, wayland, wayland-protocols, ffmpeg, x264, libpulseaudio, ocl-icd, opencl-headers
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "wf-recorder";
|
|
version = "0.2.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "ammen99";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "1cw6kpcbl33wh95pvy32xrsrm6kkk1awccr3phyh885xjs3b3iim";
|
|
};
|
|
|
|
nativeBuildInputs = [ meson ninja pkg-config wayland-scanner scdoc ];
|
|
buildInputs = [
|
|
wayland wayland-protocols ffmpeg x264 libpulseaudio ocl-icd opencl-headers
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Utility program for screen recording of wlroots-based compositors";
|
|
inherit (src.meta) homepage;
|
|
changelog = "https://github.com/ammen99/wf-recorder/releases/tag/v${version}";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ primeos CrazedProgrammer ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|