Add pianobar, a command-line Pandora client

This commit is contained in:
Benjamin Cahill 2013-06-07 20:50:41 -05:00
parent c9208b9a23
commit 00e720471b
2 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,27 @@
{ fetchurl, stdenv, pkgconfig, libao, faad2, libmad, readline, json_c, libgcrypt, gnutls }:
stdenv.mkDerivation rec {
name = "pianobar-2013.05.19";
src = fetchurl {
url = "http://6xq.net/projects/pianobar/${name}.tar.bz2";
sha256 = "cf88e82663d2b0aa4d73e761506eac4f3e7bc789b57d92377acd994d785e1046";
};
buildInputs = [
pkgconfig libao faad2 libmad json_c libgcrypt gnutls
];
preBuild = "
makeFlags=\"PREFIX=$out\"
";
CC = "gcc";
CFLAGS = "-std=c99";
meta = {
description = "A console front-end for Pandora.com";
homepage = "http://6xq.net/projects/pianobar/";
platforms = stdenv.lib.platforms.linux;
};
}

View File

@ -7853,6 +7853,8 @@ let
pdftk = callPackage ../tools/typesetting/pdftk { };
pianobar = callPackage ../applications/audio/pianobar { };
pianobooster = callPackage ../applications/audio/pianobooster { };
picard = callPackage ../applications/audio/picard { };