1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/tools/audio/darkice/default.nix

34 lines
1 KiB
Nix
Raw Normal View History

{ stdenv, fetchurl, alsaLib, faac, libjack2, lame, libopus, libpulseaudio, libsamplerate, libvorbis }:
2015-05-21 18:16:26 +01:00
with stdenv.lib;
stdenv.mkDerivation rec {
name = "darkice-${version}";
version = "1.2";
src = fetchurl {
url = "mirror://sourceforge/darkice/${version}/darkice-${version}.tar.gz";
sha256 = "0m5jzmja7a9x15zl1634bhxrg3rccph9rkar0rmz6wlw5nzakyxk";
};
configureFlags = [
"--with-alsa-prefix=${alsaLib}"
"--with-faac-prefix=${faac}"
"--with-jack-prefix=${libjack2}"
2015-05-21 18:16:26 +01:00
"--with-lame-prefix=${lame}"
"--with-opus-prefix=${libopus}"
"--with-pulseaudio-prefix=${libpulseaudio}"
"--with-samplerate-prefix=${libsamplerate}"
"--with-vorbis-prefix=${libvorbis}"
# "--with-aacplus-prefix=${aacplus}" ### missing: aacplus
# "--with-twolame-prefix=${twolame}" ### missing: twolame
];
meta = {
homepage = http://darkice.org/;
description = "Live audio streamer";
license = stdenv.lib.licenses.gpl3;
maintainers = with stdenv.lib.maintainers; [ ikervagyok ];
};
}