1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/applications/audio/streamripper/default.nix
Josef Kemetmüller e77071289e 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.
2018-03-22 19:05:53 +01:00

22 lines
652 B
Nix

{ stdenv, fetchurl , glib, pkgconfig, libogg, libvorbis, libmad }:
stdenv.mkDerivation rec {
name = "streamripper-${version}";
version = "1.64.6";
src = fetchurl {
url = "mirror://sourceforge/streamripper/${name}.tar.gz";
sha256 = "0hnyv3206r0rfprn3k7k6a0j959kagsfyrmyjm3gsf3vkhp5zmy1";
};
nativeBuildInputs = [ pkgconfig ];
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;
maintainers = with maintainers; [ the-kenny ];
};
}