1{
2 stdenv,
3 fetchFromGitHub,
4 lib,
5 vdr,
6}:
7stdenv.mkDerivation rec {
8 pname = "vdr-streamdev";
9 version = "0.6.4";
10
11 src = fetchFromGitHub {
12 owner = "vdr-projects";
13 repo = "vdr-plugin-streamdev";
14 rev = version;
15 sha256 = "sha256-fFnRDe3n/ltanRvLhrQDB6aV0UmyuEJgNUip0gKBrBA=";
16 };
17
18 # configure don't accept argument --prefix
19 dontAddPrefix = true;
20
21 makeFlags = [
22 "DESTDIR=$(out)"
23 "LIBDIR=/lib/vdr"
24 "LOCDIR=/share/locale"
25 ];
26
27 enableParallelBuilding = true;
28
29 buildInputs = [
30 vdr
31 ];
32
33 meta = with lib; {
34 inherit (src.meta) homepage;
35 description = "This PlugIn is a VDR implementation of the VTP (Video Transfer Protocol) Version 0.0.3 (see file PROTOCOL) and a basic HTTP Streaming Protocol";
36 maintainers = [ maintainers.ck3d ];
37 license = licenses.gpl2;
38 inherit (vdr.meta) platforms;
39 };
40}