nixpkgs/pkgs/tools/audio/liquidsoap/full.nix

46 lines
1.4 KiB
Nix
Raw Normal View History

2014-08-24 17:29:49 +02:00
{ stdenv, fetchurl, which, pkgconfig
2017-09-22 09:20:08 +02:00
, ocamlPackages
, libao, portaudio, alsaLib, libpulseaudio, libjack2
2014-08-24 17:29:49 +02:00
, libsamplerate, libmad, taglib, lame, libogg
, libvorbis, speex, libtheora, libopus, fdk_aac
, faad2, flac, ladspaH, ffmpeg, frei0r, dssi
, }:
let
version = "1.1.1";
packageFilters = map (p: "-e '/ocaml-${p}/d'" )
[ "gstreamer" "shine" "aacplus" "schroedinger"
"voaacenc" "soundtouch" "gavl" "lo"
];
in
stdenv.mkDerivation {
name = "liquidsoap-full-${version}";
src = fetchurl {
url = "mirror://sourceforge/project/savonet/liquidsoap/${version}/liquidsoap-${version}-full.tar.gz";
sha256 = "1w1grgja5yibph90vsxj7ffkpz1sgzmr54jj52s8889dpy609wqa";
};
preConfigure = "sed ${toString packageFilters} PACKAGES.default > PACKAGES";
configureFlags = [ "--localstatedir=/var" ];
buildInputs =
2017-09-22 09:20:08 +02:00
[ which ocamlPackages.ocaml ocamlPackages.findlib pkgconfig
libao portaudio alsaLib libpulseaudio libjack2
2014-08-24 17:29:49 +02:00
libsamplerate libmad taglib lame libogg
libvorbis speex libtheora libopus fdk_aac
faad2 flac ladspaH ffmpeg frei0r dssi
ocamlPackages.xmlm ocamlPackages.ocaml_pcre
ocamlPackages.camomile
];
meta = with stdenv.lib; {
description = "Swiss-army knife for multimedia streaming";
homepage = http://liquidsoap.fm/;
maintainers = with maintainers; [ ehmry ];
2014-08-24 17:29:49 +02:00
license = licenses.gpl2;
2017-09-22 09:20:08 +02:00
platforms = ocamlPackages.ocaml.meta.platforms or [];
2014-08-24 17:29:49 +02:00
};
}