1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-27 08:01:14 +00:00
nixpkgs/pkgs/applications/audio/pianobar/default.nix

29 lines
734 B
Nix
Raw Normal View History

2016-01-15 03:25:39 +00:00
{ fetchurl, stdenv, pkgconfig, libao, readline, json_c, libgcrypt, libav, curl }:
stdenv.mkDerivation rec {
2016-06-17 16:17:44 +01:00
name = "pianobar-2016.06.02";
src = fetchurl {
url = "http://6xq.net/projects/pianobar/${name}.tar.bz2";
2016-06-17 16:17:44 +01:00
sha256 = "0n9544bfsdp04xqcjm4nhfvp357dx0c3gpys0rjkq09nzv8b1vy6";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [
libao json_c libgcrypt libav curl
];
makeFlags="PREFIX=$(out)";
CC = "gcc";
CFLAGS = "-std=c99";
meta = with stdenv.lib; {
description = "A console front-end for Pandora.com";
homepage = http://6xq.net/projects/pianobar/;
platforms = platforms.linux;
license = licenses.mit; # expat version
maintainers = with maintainers; [ eduarrrd ];
};
}