Merge pull request #7959 from ikervagyok/darkice

New Package: Darkice
This commit is contained in:
lethalman 2015-05-27 10:51:59 +02:00
commit af4d6468b2
3 changed files with 36 additions and 0 deletions

View file

@ -100,6 +100,7 @@
iand675 = "Ian Duncan <ian@iankduncan.com>";
ianwookim = "Ian-Woo Kim <ianwookim@gmail.com>";
iElectric = "Domen Kozar <domen@dev.si>";
ikervagyok = "Balázs Lengyel <ikervagyok@gmail.com>";
iyzsong = "Song Wenwu <iyzsong@gmail.com>";
j-keck = "Jürgen Keck <jhyphenkeck@gmail.com>";
jagajaga = "Arseniy Seroka <ars.seroka@gmail.com>";

View file

@ -0,0 +1,33 @@
{ stdenv, fetchurl, alsaLib, faac, jack2, lame, libopus, libpulseaudio, libsamplerate, libvorbis }:
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=${jack2}"
"--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 ];
};
}

View file

@ -1766,6 +1766,8 @@ let
icecast = callPackage ../servers/icecast { };
darkice = callPackage ../tools/audio/darkice { };
icoutils = callPackage ../tools/graphics/icoutils { };
idutils = callPackage ../tools/misc/idutils { };