From 02557dade2d31be4921f52687db411b3f1137baf Mon Sep 17 00:00:00 2001 From: Jan Malakhovski Date: Thu, 6 Sep 2018 19:40:18 +0000 Subject: kodi: passthu pythonPackages --- pkgs/applications/video/kodi/default.nix | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'pkgs/applications/video/kodi') diff --git a/pkgs/applications/video/kodi/default.nix b/pkgs/applications/video/kodi/default.nix index 454665455c51..9272d3c8e269 100644 --- a/pkgs/applications/video/kodi/default.nix +++ b/pkgs/applications/video/kodi/default.nix @@ -1,5 +1,5 @@ { stdenv, lib, fetchFromGitHub, autoconf, automake, libtool, makeWrapper -, pkgconfig, cmake, gnumake, yasm, python2 +, pkgconfig, cmake, gnumake, yasm, python2Packages , libgcrypt, libgpgerror, libunistring , boost, avahi, lame, autoreconfHook , gettext, pcre-cpp, yajl, fribidi, which @@ -119,7 +119,7 @@ in stdenv.mkDerivation rec { buildInputs = [ gnutls libidn libtasn1 nasm p11-kit - libxml2 yasm python2 + libxml2 yasm python2Packages.python boost libmicrohttpd gettext pcre-cpp yajl fribidi libva libdrm openssl gperf tinyxml2 taglib libssh swig jre @@ -187,7 +187,7 @@ in stdenv.mkDerivation rec { postInstall = '' for p in $(ls $out/bin/) ; do wrapProgram $out/bin/$p \ - --prefix PATH ":" "${lib.makeBinPath [ python2 glxinfo xdpyinfo ]}" \ + --prefix PATH ":" "${lib.makeBinPath [ python2Packages.python glxinfo xdpyinfo ]}" \ --prefix LD_LIBRARY_PATH ":" "${lib.makeLibraryPath ([ curl systemd libmad libvdpau libcec libcec_platform rtmpdump libass ] ++ lib.optional nfsSupport libnfs)}" done @@ -200,6 +200,10 @@ in stdenv.mkDerivation rec { installCheckPhase = "$out/bin/kodi --version"; + passthru = { + pythonPackages = python2Packages; + }; + meta = with stdenv.lib; { description = "Media center"; homepage = https://kodi.tv/; -- cgit 1.4.1