diff --git a/pkgs/applications/video/vdr/plugins.nix b/pkgs/applications/video/vdr/plugins.nix index 5e94ed562d23..4211faf3f9d4 100644 --- a/pkgs/applications/video/vdr/plugins.nix +++ b/pkgs/applications/video/vdr/plugins.nix @@ -14,6 +14,8 @@ in { softhddevice = callPackage ./softhddevice {}; + streamdev = callPackage ./streamdev {}; + xineliboutput = callPackage ./xineliboutput {}; skincurses = (mkPlugin "skincurses").overrideAttrs(oldAttr: { diff --git a/pkgs/applications/video/vdr/streamdev/default.nix b/pkgs/applications/video/vdr/streamdev/default.nix new file mode 100644 index 000000000000..6ef00deab096 --- /dev/null +++ b/pkgs/applications/video/vdr/streamdev/default.nix @@ -0,0 +1,39 @@ +{ stdenv +, fetchFromGitHub +, lib +, vdr +}: +stdenv.mkDerivation rec { + pname = "vdr-streamdev"; + version = "0.6.3"; + + src = fetchFromGitHub { + owner = "vdr-projects"; + repo = "vdr-plugin-streamdev"; + rev = version; + sha256 = "sha256-12sASyFAnSuP2xQzr1KL/Am52ez6hiOUH/0zFH2bxhc="; + }; + + # configure don't accept argument --prefix + dontAddPrefix = true; + + makeFlags = [ + "DESTDIR=$(out)" + "LIBDIR=/lib/vdr" + "LOCDIR=/share/locale" + ]; + + enableParallelBuilding = true; + + buildInputs = [ + vdr + ]; + + meta = with lib;{ + homepage = "https://github.com/vdr-projects/vdr-plugin-streamdev"; + 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."; + maintainers = [ maintainers.ck3d ]; + license = licenses.gpl2; + inherit (vdr.meta) platforms; + }; +}