1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 03:30:45 +00:00

Merge pull request #278810 from r-ryantm/auto-update/squeezelite

squeezelite: 1.9.9.1449 -> 1.9.9.1463
This commit is contained in:
Adam C. Stephens 2024-01-05 14:43:18 -05:00 committed by GitHub
commit 8949c5d63b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 5 deletions

View file

@ -39,8 +39,8 @@ import ./make-test-python.nix ({ pkgs, ...} : {
with subtest("squeezelite player successfully connects to slimserver"):
machine.wait_for_unit("squeezelite.service")
machine.wait_until_succeeds("journalctl -u squeezelite.service | grep 'slimproto:937 connected'")
player_mac = machine.wait_until_succeeds("journalctl -eu squeezelite.service | grep 'sendHELO:148 mac:'").strip().split(" ")[-1]
machine.wait_until_succeeds("journalctl -u squeezelite.service | grep -E 'slimproto:[0-9]+ connected'")
player_mac = machine.wait_until_succeeds("journalctl -eu squeezelite.service | grep -E 'sendHELO:[0-9]+ mac:'").strip().split(" ")[-1]
player_id = machine.succeed(f"curl http://localhost:9000/jsonrpc.js -g -X POST -d '{json.dumps(rpc_get_player)}'")
assert player_mac == json.loads(player_id)["result"]["_id"], "squeezelite player not found"
'';

View file

@ -44,13 +44,13 @@ stdenv.mkDerivation {
pname = binName;
# versions are specified in `squeezelite.h`
# see https://github.com/ralph-irving/squeezelite/issues/29
version = "1.9.9.1449";
version = "1.9.9.1463";
src = fetchFromGitHub {
owner = "ralph-irving";
repo = "squeezelite";
rev = "8581aba8b1b67af272b89b62a7a9b56082307ab6";
hash = "sha256-/qyoc0/7Q8yiu5AhuLQFUiE88wf+/ejHjSucjpoN5bI=";
rev = "c2534dc4139f3635ff7aed49b90ff03c43723dd9";
hash = "sha256-MTGeF62jb7auOtUDougWZz7VJUNCBD/QL9jfDB7UmQE=";
};
buildInputs = [ flac libmad libvorbis mpg123 ]