From e77071289e339f4a8512aa87fb72f388531ca263 Mon Sep 17 00:00:00 2001 From: Josef Kemetmüller Date: Thu, 22 Mar 2018 19:05:53 +0100 Subject: 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. --- pkgs/applications/audio/streamripper/default.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'pkgs/applications/audio/streamripper') 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 ]; }; } -- cgit 1.4.1