summary refs log tree commit diff
path: root/pkgs/applications/audio/pianobar
diff options
context:
space:
mode:
authorBenjamin Cahill <ben@benjamincahill.com>2013-06-08 14:13:36 -0500
committerBenjamin Cahill <ben@benjamincahill.com>2013-06-08 14:13:36 -0500
commit9350c1d5ceb58d1d9ac92d3672ef34cbfb140b2a (patch)
tree532175f007fb31dd4080a3a04c8e78f1e7cfff72 /pkgs/applications/audio/pianobar
parent00e720471bd459581fa99f6821ead597beafe05b (diff)
downloadnixpkgs-9350c1d5ceb58d1d9ac92d3672ef34cbfb140b2a.tar
nixpkgs-9350c1d5ceb58d1d9ac92d3672ef34cbfb140b2a.tar.gz
nixpkgs-9350c1d5ceb58d1d9ac92d3672ef34cbfb140b2a.tar.bz2
nixpkgs-9350c1d5ceb58d1d9ac92d3672ef34cbfb140b2a.tar.lz
nixpkgs-9350c1d5ceb58d1d9ac92d3672ef34cbfb140b2a.tar.xz
nixpkgs-9350c1d5ceb58d1d9ac92d3672ef34cbfb140b2a.tar.zst
nixpkgs-9350c1d5ceb58d1d9ac92d3672ef34cbfb140b2a.zip
pianobar: Change license and clean up code
The license was set to unfree so that Hydra doesn't build it; this is
for potential problems arising from the Pandora TOS.
Diffstat (limited to 'pkgs/applications/audio/pianobar')
-rw-r--r--pkgs/applications/audio/pianobar/default.nix5
1 files changed, 2 insertions, 3 deletions
diff --git a/pkgs/applications/audio/pianobar/default.nix b/pkgs/applications/audio/pianobar/default.nix
index 222656b2f2b..a9f4b02fa08 100644
--- a/pkgs/applications/audio/pianobar/default.nix
+++ b/pkgs/applications/audio/pianobar/default.nix
@@ -12,9 +12,7 @@ stdenv.mkDerivation rec {
     pkgconfig libao faad2 libmad json_c libgcrypt gnutls
   ];
 
-  preBuild = "
-    makeFlags=\"PREFIX=$out\"
-  ";
+  makeFlags="PREFIX=$(out)";
 
   CC = "gcc";
   CFLAGS = "-std=c99";
@@ -23,5 +21,6 @@ stdenv.mkDerivation rec {
     description = "A console front-end for Pandora.com";
     homepage = "http://6xq.net/projects/pianobar/";
     platforms = stdenv.lib.platforms.linux;
+    license = stdenv.lib.licenses.unfree;
   };
 }