squeezelite: 2016-05-27 -> 2018-08-14

This commit is contained in:
Peter Hoeg 2018-03-29 16:58:09 +08:00
parent 0a7e258012
commit 4a73fa3126

View File

@ -1,20 +1,26 @@
{ stdenv, fetchFromGitHub, alsaLib, faad2, flac, libmad, libvorbis, mpg123 }: { stdenv, fetchFromGitHub, alsaLib, faad2, flac, libmad, libvorbis, mpg123 }:
stdenv.mkDerivation { stdenv.mkDerivation {
name = "squeezelite-git-2016-05-27"; name = "squeezelite-git-2018-08-14";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "ralph-irving"; owner = "ralph-irving";
repo = "squeezelite"; repo = "squeezelite";
rev = "e37ed17fed9e11a7346cbe9f1e1deeccc051f42e"; rev = "ecb6e3696a42113994640e5345d0b5ca2e77d28b";
sha256 = "15ihx2dbp4kr6k6r50g9q5npqad5zyv8nqf5cr37bhg964syvbdm"; sha256 = "0di3d5qy8fhawijq6bxy524fgffvzl08dprrws0fs2j1a70fs0fh";
}; };
buildInputs = [ alsaLib faad2 flac libmad libvorbis mpg123 ]; buildInputs = [ alsaLib faad2 flac libmad libvorbis mpg123 ];
enableParallelBuilding = true;
installPhase = '' installPhase = ''
mkdir -p $out/bin runHook preInstall
cp squeezelite $out/bin
install -Dm755 -t $out/bin squeezelite
install -Dm644 -t $out/share/doc/squeezelite *.txt *.md
runHook postInstall
''; '';
meta = with stdenv.lib; { meta = with stdenv.lib; {