3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/audio/squeezelite/default.nix

33 lines
878 B
Nix
Raw Normal View History

2016-06-11 13:45:24 +01:00
{ stdenv, fetchFromGitHub, alsaLib, faad2, flac, libmad, libvorbis, mpg123 }:
stdenv.mkDerivation {
2018-03-29 09:58:09 +01:00
name = "squeezelite-git-2018-08-14";
2016-06-11 13:45:24 +01:00
src = fetchFromGitHub {
2018-03-29 09:58:09 +01:00
owner = "ralph-irving";
repo = "squeezelite";
rev = "ecb6e3696a42113994640e5345d0b5ca2e77d28b";
sha256 = "0di3d5qy8fhawijq6bxy524fgffvzl08dprrws0fs2j1a70fs0fh";
2016-06-11 13:45:24 +01:00
};
buildInputs = [ alsaLib faad2 flac libmad libvorbis mpg123 ];
2018-03-29 09:58:09 +01:00
enableParallelBuilding = true;
2016-06-11 13:45:24 +01:00
installPhase = ''
2018-03-29 09:58:09 +01:00
runHook preInstall
install -Dm755 -t $out/bin squeezelite
install -Dm644 -t $out/share/doc/squeezelite *.txt *.md
runHook postInstall
2016-06-11 13:45:24 +01:00
'';
meta = with stdenv.lib; {
description = "Lightweight headless squeezebox client emulator";
homepage = https://github.com/ralph-irving/squeezelite;
license = licenses.gpl3;
platforms = platforms.linux;
};
}