e7ec2969af
GitOrigin-RevId: 9b19f5e77dd906cb52dade0b7bd280339d2a1f3d
37 lines
843 B
Nix
37 lines
843 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, cmake
|
|
, ninja
|
|
, obs-studio
|
|
, pipewire
|
|
, pkg-config
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "obs-pipewire-audio-capture";
|
|
version = "1.1.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "dimtpap";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "sha256-9HPQ17swMlsCnKkYQXIUzEbx2vKuBUfGf58Up2hHVGI=";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake ninja pkg-config ];
|
|
buildInputs = [ obs-studio pipewire ];
|
|
|
|
cmakeFlags = [
|
|
"-DLIBOBS_INCLUDE_DIR=${obs-studio.src}/libobs"
|
|
"-Wno-dev"
|
|
];
|
|
|
|
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.gpl2Plus;
|
|
platforms = [ "x86_64-linux" "i686-linux" ];
|
|
};
|
|
}
|