3
0
Fork 0
forked from mirrors/nixpkgs

snapcast: 0.24.0 -> 0.25.0

Also move boost to buildInputs, which fixes cross-compilation (an
override that sets avahi = null is also required).
This commit is contained in:
Milan Pässler 2021-06-03 18:57:13 +02:00
parent 28a0d6d7a2
commit 845f41770e
No known key found for this signature in database
GPG key ID: A6DC6A7CB0B97859

View file

@ -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
];