summary refs log tree commit diff
path: root/pkgs/applications/audio/streamripper
diff options
context:
space:
mode:
authorJosef Kemetmüller <josef.kemetmueller@gmail.com>2018-03-22 19:05:53 +0100
committerJosef Kemetmüller <josef.kemetmueller@gmail.com>2018-03-22 19:05:53 +0100
commite77071289e339f4a8512aa87fb72f388531ca263 (patch)
tree2f5bbf807b6e95320b5608365ccd59ba58ba08f5 /pkgs/applications/audio/streamripper
parent8bef1a5cb87ef7a7aabae7b30fc3efd704a6b30a (diff)
downloadnixpkgs-e77071289e339f4a8512aa87fb72f388531ca263.tar
nixpkgs-e77071289e339f4a8512aa87fb72f388531ca263.tar.gz
nixpkgs-e77071289e339f4a8512aa87fb72f388531ca263.tar.bz2
nixpkgs-e77071289e339f4a8512aa87fb72f388531ca263.tar.lz
nixpkgs-e77071289e339f4a8512aa87fb72f388531ca263.tar.xz
nixpkgs-e77071289e339f4a8512aa87fb72f388531ca263.tar.zst
nixpkgs-e77071289e339f4a8512aa87fb72f388531ca263.zip
streamripper: Don't use included libmad
streamripper ships its own version of libmad, which does not compile on
clang, due to the usage of incompatible compiler flags. We can get the
build working by using the already packaged libmad, which includes
patches for clang.
Diffstat (limited to 'pkgs/applications/audio/streamripper')
-rw-r--r--pkgs/applications/audio/streamripper/default.nix5
1 files changed, 2 insertions, 3 deletions
diff --git a/pkgs/applications/audio/streamripper/default.nix b/pkgs/applications/audio/streamripper/default.nix
index 0fb1b77e708..39d1c266a37 100644
--- a/pkgs/applications/audio/streamripper/default.nix
+++ b/pkgs/applications/audio/streamripper/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl , glib, pkgconfig, libogg, libvorbis }:
+{ stdenv, fetchurl , glib, pkgconfig, libogg, libvorbis, libmad }:
 
 stdenv.mkDerivation rec {
   name = "streamripper-${version}";
@@ -10,13 +10,12 @@ stdenv.mkDerivation rec {
   };
 
   nativeBuildInputs = [ pkgconfig ];
-  buildInputs = [ glib libogg libvorbis ];
+  buildInputs = [ glib libogg libvorbis libmad ];
 
   meta = with stdenv.lib; {
     homepage = http://streamripper.sourceforge.net/;
     description = "Application that lets you record streaming mp3 to your hard drive";
     license = licenses.gpl2;
-    platforms = platforms.linux;
     maintainers = with maintainers; [ the-kenny ];
   };
 }