Unverified Commit 4df19283 authored by Peder Bergebakken Sundt's avatar Peder Bergebakken Sundt Committed by GitHub
Browse files

pulsemeeter: 1.2.14 -> 2.0.0 (#436403)

parents 717f39da 579483f4
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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. -->
+13 −8
Original line number Diff line number Diff line
@@ -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; [
+2 −2
Original line number Diff line number Diff line
@@ -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')
  '';
}