From 0a1b21ff95d641c69ac4b1cc17601f6a10da1481 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20K=C3=B6gler?= Date: Thu, 18 Aug 2022 22:47:08 +0200 Subject: [PATCH] vdrPlugins.streamdev: init at 0.6.3 --- pkgs/applications/video/vdr/plugins.nix | 2 + .../video/vdr/streamdev/default.nix | 39 +++++++++++++++++++ 2 files changed, 41 insertions(+) create mode 100644 pkgs/applications/video/vdr/streamdev/default.nix 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; + }; +}