1 { fetchurl, lib, stdenv, pkg-config, libao, json_c, libgcrypt, ffmpeg, curl }:
3 stdenv.mkDerivation rec {
5 version = "2022.04.01";
8 url = "https://6xq.net/projects/pianobar/${pname}-${version}.tar.bz2";
9 sha256 = "sha256-FnCyiGWouCpXu23+p/FuL6QUXS81SRC7FzgLMsm5R2M=";
12 nativeBuildInputs = [ pkg-config ];
14 libao json_c libgcrypt ffmpeg curl
17 makeFlags = [ "PREFIX=$(out)" ];
23 description = "A console front-end for Pandora.com";
24 homepage = "https://6xq.net/pianobar/";
25 platforms = platforms.unix;
26 license = licenses.mit; # expat version
27 mainProgram = "pianobar";