Files
nixpkgs/pkgs/by-name/pu/pulsemeeter/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

70 lines
1.3 KiB
Nix

{
lib,
python3Packages,
fetchFromGitHub,
libappindicator,
gobject-introspection,
wrapGAppsHook4,
callPackage,
bash,
pipewire,
gtk4,
}:
python3Packages.buildPythonApplication rec {
pname = "pulsemeeter";
version = "2.0.0";
pyproject = true;
src = fetchFromGitHub {
owner = "theRealCarneiro";
repo = "pulsemeeter";
tag = "v${version}";
hash = "sha256-hmQI+E6WmYOK7oN7zTmshFZgJ0UiN2KdZ6ZiXwxRpNs=";
};
build-system = with python3Packages; [
setuptools
babel
];
dependencies = with python3Packages; [
pygobject3
pydantic
pulsectl
pulsectl-asyncio
];
nativeBuildInputs = [
wrapGAppsHook4
gobject-introspection
];
buildInputs = [
libappindicator
pipewire
bash
gtk4
];
makeWrapperArgs = [
"\${gappsWrapperArgs[@]}"
];
dontWrapGApps = true;
pythonImportsCheck = [ "pulsemeeter" ];
passthru.tests.version = callPackage ./version-test.nix { inherit version; };
meta = {
description = "Pulseaudio and pipewire audio mixer inspired by voicemeeter";
license = lib.licenses.mit;
homepage = "https://github.com/theRealCarneiro/pulsemeeter";
maintainers = with lib.maintainers; [
therobot2105
];
mainProgram = "pulsemeeter";
platforms = lib.platforms.linux;
};
}