depot/third_party/nixpkgs/pkgs/applications/video/obs-studio/plugins/obs-pipewire-audio-capture.nix
Default email 5083ee08a2 Project import generated by Copybara.
GitOrigin-RevId: 10ecda252ce1b3b1d6403caeadbcc8f30d5ab796
2022-09-30 06:47:45 -05:00

32 lines
756 B
Nix

{ lib
, stdenv
, fetchFromGitHub
, cmake
, ninja
, obs-studio
, pipewire
, pkg-config
}:
stdenv.mkDerivation rec {
pname = "obs-pipewire-audio-capture";
version = "1.0.5";
src = fetchFromGitHub {
owner = "dimtpap";
repo = pname;
rev = "${version}";
sha256 = "sha256-AXqBdwu5ayzQPIVOhqspDHnQo422y3WGA+kmW1DzoL0=";
};
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" ];
};
}