kodi: passthu pythonPackages
This commit is contained in:
parent
88d69df250
commit
02557dade2
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, lib, fetchFromGitHub, autoconf, automake, libtool, makeWrapper
|
{ stdenv, lib, fetchFromGitHub, autoconf, automake, libtool, makeWrapper
|
||||||
, pkgconfig, cmake, gnumake, yasm, python2
|
, pkgconfig, cmake, gnumake, yasm, python2Packages
|
||||||
, libgcrypt, libgpgerror, libunistring
|
, libgcrypt, libgpgerror, libunistring
|
||||||
, boost, avahi, lame, autoreconfHook
|
, boost, avahi, lame, autoreconfHook
|
||||||
, gettext, pcre-cpp, yajl, fribidi, which
|
, gettext, pcre-cpp, yajl, fribidi, which
|
||||||
@ -119,7 +119,7 @@ in stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
gnutls libidn libtasn1 nasm p11-kit
|
gnutls libidn libtasn1 nasm p11-kit
|
||||||
libxml2 yasm python2
|
libxml2 yasm python2Packages.python
|
||||||
boost libmicrohttpd
|
boost libmicrohttpd
|
||||||
gettext pcre-cpp yajl fribidi libva libdrm
|
gettext pcre-cpp yajl fribidi libva libdrm
|
||||||
openssl gperf tinyxml2 taglib libssh swig jre
|
openssl gperf tinyxml2 taglib libssh swig jre
|
||||||
@ -187,7 +187,7 @@ in stdenv.mkDerivation rec {
|
|||||||
postInstall = ''
|
postInstall = ''
|
||||||
for p in $(ls $out/bin/) ; do
|
for p in $(ls $out/bin/) ; do
|
||||||
wrapProgram $out/bin/$p \
|
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
|
--prefix LD_LIBRARY_PATH ":" "${lib.makeLibraryPath
|
||||||
([ curl systemd libmad libvdpau libcec libcec_platform rtmpdump libass ] ++ lib.optional nfsSupport libnfs)}"
|
([ curl systemd libmad libvdpau libcec libcec_platform rtmpdump libass ] ++ lib.optional nfsSupport libnfs)}"
|
||||||
done
|
done
|
||||||
@ -200,6 +200,10 @@ in stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
installCheckPhase = "$out/bin/kodi --version";
|
installCheckPhase = "$out/bin/kodi --version";
|
||||||
|
|
||||||
|
passthru = {
|
||||||
|
pythonPackages = python2Packages;
|
||||||
|
};
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Media center";
|
description = "Media center";
|
||||||
homepage = https://kodi.tv/;
|
homepage = https://kodi.tv/;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user