depot/third_party/nixpkgs/pkgs/applications/video/obs-studio/plugins/obs-pipewire-audio-capture.nix
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03:00

47 lines
860 B
Nix

{
lib,
stdenv,
fetchFromGitHub,
cmake,
ninja,
obs-studio,
pipewire,
pkg-config,
}:
stdenv.mkDerivation rec {
pname = "obs-pipewire-audio-capture";
version = "1.1.5";
src = fetchFromGitHub {
owner = "dimtpap";
repo = pname;
rev = version;
sha256 = "sha256-qYHU0m+jz/mQmjleITnzxNkTio5ir8dFkHKfmY4l0Es=";
};
nativeBuildInputs = [
cmake
ninja
pkg-config
];
buildInputs = [
obs-studio
pipewire
];
cmakeFlags = [
"-DCMAKE_INSTALL_LIBDIR=/lib"
];
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"
];
};
}