diff --git a/nixos/tests/snapcast.nix b/nixos/tests/snapcast.nix index ef35d586c9c8..8d960b4cc069 100644 --- a/nixos/tests/snapcast.nix +++ b/nixos/tests/snapcast.nix @@ -72,10 +72,10 @@ in { ) with subtest("test a connection"): - client.execute("systemd-run snapclient -h server -p ${toString port}") + client.execute("systemd-run --unit=snapcast-client snapclient -h server -p ${toString port}") server.wait_until_succeeds( "journalctl -o cat -u snapserver.service | grep -q 'Hello from'" ) - client.wait_until_succeeds("journalctl -o cat -u run-\* | grep -q ${toString bufferSize}") + client.wait_until_succeeds("journalctl -o cat -u snapcast-client | grep -q 'buffer: ${toString bufferSize}'") ''; }) diff --git a/pkgs/applications/audio/snapcast/default.nix b/pkgs/applications/audio/snapcast/default.nix index 18d073caba71..9351d1b0db76 100644 --- a/pkgs/applications/audio/snapcast/default.nix +++ b/pkgs/applications/audio/snapcast/default.nix @@ -1,5 +1,5 @@ { stdenv, lib, fetchFromGitHub, cmake, pkg-config -, alsaLib, asio, avahi, boost170, flac, libogg, libvorbis, soxr +, alsaLib, asio, avahi, boost17x, flac, libogg, libvorbis, soxr , nixosTests }: let @@ -34,19 +34,20 @@ in stdenv.mkDerivation rec { pname = "snapcast"; - version = "0.24.0"; + version = "0.25.0"; src = fetchFromGitHub { owner = "badaix"; repo = "snapcast"; rev = "v${version}"; - sha256 = "13yz8alplnqwkcns3mcli01qbyy6l3h62xx0v71ygcrz371l4g9g"; + sha256 = "064pcpr5dsv9hncqkrnxriva4xjv1vcxhvc69h1an8x8vn4dwgmf"; }; - nativeBuildInputs = [ cmake pkg-config boost170.dev ]; + nativeBuildInputs = [ cmake pkg-config ]; # snapcast also supports building against tremor but as we have libogg, that's # not needed buildInputs = [ + boost17x alsaLib asio avahi flac libogg libvorbis aixlog popl soxr ];