pulsemeeter: 1.2.14 -> 2.0.0 (#436403)
This commit is contained in:
@@ -114,6 +114,8 @@
|
||||
|
||||
- `lxde` scope has been removed, and its packages have been moved the top-level.
|
||||
|
||||
- `pulsemeeter` has been updated to `2.0.0`. The configuration file from older versions has to be deleted. For more information and instructions see the [v2.0.0 changelog entry](https://github.com/theRealCarneiro/pulsemeeter/releases/tag/v2.0.0).
|
||||
|
||||
## Other Notable Changes {#sec-nixpkgs-release-25.11-notable-changes}
|
||||
|
||||
<!-- To avoid merge conflicts, consider adding your item at an arbitrary place in the list instead. -->
|
||||
|
||||
@@ -2,43 +2,48 @@
|
||||
lib,
|
||||
python3Packages,
|
||||
fetchFromGitHub,
|
||||
libpulseaudio,
|
||||
libappindicator,
|
||||
gobject-introspection,
|
||||
wrapGAppsHook3,
|
||||
wrapGAppsHook4,
|
||||
callPackage,
|
||||
bash,
|
||||
pipewire,
|
||||
gtk4,
|
||||
}:
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "pulsemeeter";
|
||||
version = "1.2.14";
|
||||
version = "2.0.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "theRealCarneiro";
|
||||
repo = "pulsemeeter";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-QTXVE5WvunsjLS8I1rgX34BW1mT1UY+cRxURwXiQp5A=";
|
||||
hash = "sha256-hmQI+E6WmYOK7oN7zTmshFZgJ0UiN2KdZ6ZiXwxRpNs=";
|
||||
};
|
||||
|
||||
build-system = with python3Packages; [
|
||||
setuptools
|
||||
babel
|
||||
];
|
||||
|
||||
dependencies = with python3Packages; [
|
||||
pulsectl
|
||||
pygobject3
|
||||
pydantic
|
||||
pulsectl
|
||||
pulsectl-asyncio
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
wrapGAppsHook3
|
||||
wrapGAppsHook4
|
||||
gobject-introspection
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
libappindicator
|
||||
libpulseaudio
|
||||
pipewire
|
||||
bash
|
||||
gtk4
|
||||
];
|
||||
|
||||
makeWrapperArgs = [
|
||||
@@ -52,7 +57,7 @@ python3Packages.buildPythonApplication rec {
|
||||
passthru.tests.version = callPackage ./version-test.nix { inherit version; };
|
||||
|
||||
meta = {
|
||||
description = "Frontend of pulseaudio's routing capabilities, mimicking voicemeeter's workflow";
|
||||
description = "Pulseaudio and pipewire audio mixer inspired by voicemeeter";
|
||||
license = lib.licenses.mit;
|
||||
homepage = "https://github.com/theRealCarneiro/pulsemeeter";
|
||||
maintainers = with lib.maintainers; [
|
||||
|
||||
@@ -27,7 +27,7 @@ pkgs.testers.runNixOSTest {
|
||||
machine.wait_for_unit("default.target")
|
||||
machine.succeed("su -- root -c 'systemctl start pulseaudio'")
|
||||
machine.succeed("su -- alice -c 'mkdir -p /home/alice/.config/pulsemeeter'")
|
||||
version = machine.execute("su -- alice -c 'pulsemeeter -s | head -n 4 | tail -n 1'")
|
||||
assert version == (0, 'Pulsemeeter version: \x1b[1m${version}\x1b[0m\n')
|
||||
version = machine.execute("su -- alice -c 'pulsemeeter -v'")
|
||||
assert version == (0, '${version}\n')
|
||||
'';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user