Files
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

49 lines
980 B
Nix

{
stdenv,
lib,
fetchFromGitHub,
cmake,
pkg-config,
libjpeg,
libvpx,
openh264,
withPulse ? stdenv.hostPlatform.isLinux,
libpulseaudio,
libvorbis,
}:
stdenv.mkDerivation {
pname = "libopenglrecorder";
version = "unstable-2020-08-13";
src = fetchFromGitHub {
owner = "Benau";
repo = "libopenglrecorder";
rev = "c1b81ce26e62fae1aaa086b5cd337cb12361ea3d";
sha256 = "13s2d7qs8z4w0gb3hx03n97xmwl07d4s473m4gw90qcvmz217kiz";
};
nativeBuildInputs = [
cmake
pkg-config
];
buildInputs = [
libjpeg
libvpx
openh264
]
++ lib.optionals withPulse [
libpulseaudio
libvorbis
];
meta = with lib; {
description = "Library allowing Optional async readback OpenGL frame buffer with optional audio recording";
homepage = "https://github.com/Benau/libopenglrecorder";
license = licenses.bsd3;
maintainers = with maintainers; [ OPNA2608 ];
platforms = with platforms; windows ++ linux;
};
}