3
0
Fork 0
forked from mirrors/nixpkgs

snapcast: init at 0.14.0

This commit is contained in:
Franz Pletz 2018-06-24 17:47:06 +02:00
parent d13588e2a5
commit 4d37ce9199
No known key found for this signature in database
GPG key ID: 846FDED7792617B4
2 changed files with 56 additions and 0 deletions

View file

@ -0,0 +1,54 @@
{ stdenv, lib, fetchFromGitHub, cmake, pkgconfig
, asio, alsaLib, avahi, libogg, libvorbis, flac }:
let
popl = stdenv.mkDerivation rec {
name = "popl-${version}";
version = "1.1.0";
src = fetchFromGitHub {
owner = "badaix";
repo = "popl";
rev = "v${version}";
sha256 = "1zgjgcingyi1xw61azxxasaidbgqidncml5c2y2cj90mz23yam1i";
};
nativeBuildInputs = [ cmake ];
};
aixlog = stdenv.mkDerivation rec {
name = "aixlog-${version}";
version = "1.2.1";
src = fetchFromGitHub {
owner = "badaix";
repo = "aixlog";
rev = "v${version}";
sha256 = "1rh4jib5g41b85bqrxkl5g74hk5ryf187y9fw0am76g59xlymfpr";
};
nativeBuildInputs = [ cmake ];
};
in
stdenv.mkDerivation rec {
name = "snapcast-${version}";
version = "0.14.0";
src = fetchFromGitHub {
owner = "badaix";
repo = "snapcast";
rev = "v${version}";
sha256 = "14f5jrsarjdk2mixmznmighrh22j6flp7y47r9j3qzxycmm1mcf6";
};
nativeBuildInputs = [ cmake pkgconfig ];
buildInputs = [ asio popl aixlog alsaLib avahi libogg libvorbis flac ];
meta = with lib; {
description = "Synchronous multi-room audio player";
homepage = https://github.com/badaix/snapcast;
maintainers = with maintainers; [ fpletz ];
license = licenses.gpl3;
};
}

View file

@ -5056,6 +5056,8 @@ with pkgs;
snabb = callPackage ../tools/networking/snabb { } ;
snapcast = callPackage ../applications/audio/snapcast { };
sng = callPackage ../tools/graphics/sng {
libpng = libpng12;
};