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
48 lines
919 B
Nix
48 lines
919 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
cmake,
|
|
ninja,
|
|
obs-studio,
|
|
pipewire,
|
|
pkg-config,
|
|
}:
|
|
stdenv.mkDerivation rec {
|
|
pname = "obs-pipewire-audio-capture";
|
|
version = "1.2.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "dimtpap";
|
|
repo = "obs-pipewire-audio-capture";
|
|
rev = version;
|
|
sha256 = "sha256-GrfogPsqpQ976Gcc4JVdslAAWTj49PdspwVp/JXYXSQ=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
ninja
|
|
pkg-config
|
|
];
|
|
buildInputs = [
|
|
obs-studio
|
|
pipewire
|
|
];
|
|
|
|
cmakeFlags = [
|
|
"-DCMAKE_INSTALL_LIBDIR=./lib"
|
|
"-DCMAKE_INSTALL_DATADIR=./share"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Audio device and application capture for OBS Studio using PipeWire";
|
|
homepage = "https://github.com/dimtpap/obs-pipewire-audio-capture";
|
|
maintainers = with maintainers; [
|
|
Elinvention
|
|
fazzi
|
|
];
|
|
license = licenses.gpl2Plus;
|
|
inherit (obs-studio.meta) platforms;
|
|
};
|
|
}
|