2025-06-08 16:05:34 +02:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
python3Packages,
|
|
|
|
fetchFromGitHub,
|
|
|
|
libpulseaudio,
|
|
|
|
libappindicator,
|
|
|
|
gobject-introspection,
|
|
|
|
wrapGAppsHook3,
|
|
|
|
callPackage,
|
|
|
|
bash,
|
|
|
|
}:
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
|
|
pname = "pulsemeeter";
|
|
|
|
version = "1.2.14";
|
2025-07-11 22:13:59 +02:00
|
|
|
pyproject = true;
|
2025-06-08 16:05:34 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "theRealCarneiro";
|
|
|
|
repo = "pulsemeeter";
|
|
|
|
tag = "v${version}";
|
|
|
|
hash = "sha256-QTXVE5WvunsjLS8I1rgX34BW1mT1UY+cRxURwXiQp5A=";
|
|
|
|
};
|
|
|
|
|
|
|
|
build-system = with python3Packages; [
|
|
|
|
setuptools
|
|
|
|
];
|
|
|
|
|
|
|
|
dependencies = with python3Packages; [
|
|
|
|
pulsectl
|
|
|
|
pygobject3
|
|
|
|
];
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
wrapGAppsHook3
|
|
|
|
gobject-introspection
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
libappindicator
|
|
|
|
libpulseaudio
|
|
|
|
bash
|
|
|
|
];
|
|
|
|
|
|
|
|
makeWrapperArgs = [
|
|
|
|
"\${gappsWrapperArgs[@]}"
|
|
|
|
];
|
|
|
|
|
|
|
|
dontWrapGApps = true;
|
|
|
|
|
2025-07-11 22:13:59 +02:00
|
|
|
pythonImportsCheck = [ "pulsemeeter" ];
|
|
|
|
|
2025-06-08 16:05:34 +02:00
|
|
|
passthru.tests.version = callPackage ./version-test.nix { inherit version; };
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Frontend of pulseaudio's routing capabilities, mimicking voicemeeter's workflow";
|
|
|
|
license = lib.licenses.mit;
|
|
|
|
homepage = "https://github.com/theRealCarneiro/pulsemeeter";
|
|
|
|
maintainers = with lib.maintainers; [
|
|
|
|
therobot2105
|
|
|
|
];
|
|
|
|
mainProgram = "pulsemeeter";
|
|
|
|
platforms = lib.platforms.linux;
|
|
|
|
};
|
|
|
|
}
|