2021-09-03 12:50:30 +00:00
|
|
|
{ stdenv, lib,
|
2022-10-15 14:25:00 +00:00
|
|
|
pkg-config, cmake, ffmpeg, libdrm, libpulseaudio, xorg, libnotify,
|
2021-09-03 12:50:30 +00:00
|
|
|
fetchgit }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "ReplaySorcery";
|
|
|
|
version = "0.6.0";
|
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
url = "https://github.com/matanui159/${pname}.git";
|
2021-12-06 12:39:37 +00:00
|
|
|
rev = version;
|
|
|
|
sha256 = "sha256-nzilMEAOOLrdtfal+y81WJr6LwOVaQpuheIsSN5m83A=";
|
2021-09-03 12:50:30 +00:00
|
|
|
deepClone = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
2022-10-15 14:25:00 +00:00
|
|
|
pkg-config cmake
|
2021-09-03 12:50:30 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
ffmpeg libdrm libpulseaudio xorg.libxcb xorg.libX11
|
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
libnotify
|
|
|
|
];
|
|
|
|
|
|
|
|
patches = [
|
|
|
|
./ignore-systemd.patch
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "An open-source, instant-replay solution for Linux";
|
|
|
|
homepage = "https://github.com/matanui159/ReplaySorcery";
|
|
|
|
license = licenses.gpl3;
|
|
|
|
maintainers = [ ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|