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