mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 13:41:26 +00:00
e77071289e
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.
22 lines
652 B
Nix
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 ];
|
|
};
|
|
}
|