forked from mirrors/nixpkgs
initial liquidsoap package expression
This commit is contained in:
parent
12cb1dcb18
commit
c1f458eb85
45
pkgs/tools/audio/liquidsoap/full.nix
Normal file
45
pkgs/tools/audio/liquidsoap/full.nix
Normal file
|
@ -0,0 +1,45 @@
|
|||
{ stdenv, fetchurl, which, pkgconfig
|
||||
, ocaml, ocamlPackages
|
||||
, libao, portaudio, alsaLib, pulseaudio, jack2
|
||||
, 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 =
|
||||
[ which ocaml ocamlPackages.findlib pkgconfig
|
||||
libao portaudio alsaLib pulseaudio jack2
|
||||
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; [ emery ];
|
||||
license = licenses.gpl2;
|
||||
platform = ocaml.meta.platforms;
|
||||
};
|
||||
}
|
|
@ -1545,6 +1545,8 @@ let
|
|||
|
||||
less = callPackage ../tools/misc/less { };
|
||||
|
||||
liquidsoap = callPackage ../tools/audio/liquidsoap/full.nix { };
|
||||
|
||||
lockfileProgs = callPackage ../tools/misc/lockfile-progs { };
|
||||
|
||||
logstash = callPackage ../tools/misc/logstash { };
|
||||
|
|
Loading…
Reference in a new issue