tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
initial liquidsoap package expression
Emery Hemingway
11 years ago
c1f458eb
12cb1dcb
+47
2 changed files
expand all
collapse all
unified
split
pkgs
tools
audio
liquidsoap
full.nix
top-level
all-packages.nix
+45
pkgs/tools/audio/liquidsoap/full.nix
···
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
···
1
+
{ stdenv, fetchurl, which, pkgconfig
2
+
, ocaml, ocamlPackages
3
+
, libao, portaudio, alsaLib, pulseaudio, jack2
4
+
, libsamplerate, libmad, taglib, lame, libogg
5
+
, libvorbis, speex, libtheora, libopus, fdk_aac
6
+
, faad2, flac, ladspaH, ffmpeg, frei0r, dssi
7
+
, }:
8
+
9
+
let
10
+
version = "1.1.1";
11
+
12
+
packageFilters = map (p: "-e '/ocaml-${p}/d'" )
13
+
[ "gstreamer" "shine" "aacplus" "schroedinger"
14
+
"voaacenc" "soundtouch" "gavl" "lo"
15
+
];
16
+
in
17
+
stdenv.mkDerivation {
18
+
name = "liquidsoap-full-${version}";
19
+
20
+
src = fetchurl {
21
+
url = "mirror://sourceforge/project/savonet/liquidsoap/${version}/liquidsoap-${version}-full.tar.gz";
22
+
sha256 = "1w1grgja5yibph90vsxj7ffkpz1sgzmr54jj52s8889dpy609wqa";
23
+
};
24
+
25
+
preConfigure = "sed ${toString packageFilters} PACKAGES.default > PACKAGES";
26
+
configureFlags = [ "--localstatedir=/var" ];
27
+
28
+
buildInputs =
29
+
[ which ocaml ocamlPackages.findlib pkgconfig
30
+
libao portaudio alsaLib pulseaudio jack2
31
+
libsamplerate libmad taglib lame libogg
32
+
libvorbis speex libtheora libopus fdk_aac
33
+
faad2 flac ladspaH ffmpeg frei0r dssi
34
+
ocamlPackages.xmlm ocamlPackages.ocaml_pcre
35
+
ocamlPackages.camomile
36
+
];
37
+
38
+
meta = with stdenv.lib; {
39
+
description = "Swiss-army knife for multimedia streaming";
40
+
homepage = http://liquidsoap.fm/;
41
+
maintainers = with maintainers; [ emery ];
42
+
license = licenses.gpl2;
43
+
platform = ocaml.meta.platforms;
44
+
};
45
+
}
+2
pkgs/top-level/all-packages.nix
···
1545
1546
less = callPackage ../tools/misc/less { };
1547
0
0
1548
lockfileProgs = callPackage ../tools/misc/lockfile-progs { };
1549
1550
logstash = callPackage ../tools/misc/logstash { };
···
1545
1546
less = callPackage ../tools/misc/less { };
1547
1548
+
liquidsoap = callPackage ../tools/audio/liquidsoap/full.nix { };
1549
+
1550
lockfileProgs = callPackage ../tools/misc/lockfile-progs { };
1551
1552
logstash = callPackage ../tools/misc/logstash { };