c6ca5b8f13
GitOrigin-RevId: e4d49de45a3b5dbcb881656b4e3986e666141ea9
32 lines
749 B
Nix
32 lines
749 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, cmake
|
|
, ninja
|
|
, obs-studio
|
|
, pipewire
|
|
, pkg-config
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "obs-pipewire-audio-capture";
|
|
version = "1.0.4";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "dimtpap";
|
|
repo = pname;
|
|
rev = "${version}";
|
|
sha256 = "OX27NTUsceEC8kHqlM+oeGjPxguake6lwaXFYsoEqKU=";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake ninja pkg-config ];
|
|
buildInputs = [ obs-studio pipewire ];
|
|
|
|
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 ];
|
|
license = licenses.gpl2;
|
|
platforms = [ "x86_64-linux" "i686-linux" ];
|
|
};
|
|
}
|