enlightenment.econnman: cleanup, use python wrapper

This commit is contained in:
Nikolay Amiantov 2016-03-12 02:54:29 +03:00
parent 42285cb36d
commit b4390eaac3

View file

@ -1,4 +1,4 @@
{ stdenv, fetchurl, pkgconfig, efl, elementary, python27, python27Packages, dbus, makeWrapper }:
{ stdenv, fetchurl, pkgconfig, efl, elementary, python2Packages, dbus, makeWrapper }:
stdenv.mkDerivation rec {
name = "econnman-${version}";
version = "1.1";
@ -7,10 +7,10 @@ stdenv.mkDerivation rec {
sha256 = "057pwwavlvrrq26bncqnfrf449zzaim0zq717xv86av4n940gwv0";
};
buildInputs = [ makeWrapper pkgconfig efl python27 dbus ];
propagatedBuildInputs = [ python27Packages.pythonefl python27Packages.dbus elementary ];
buildInputs = [ makeWrapper pkgconfig efl python2Packages.python python2Packages.wrapPython dbus ];
pythonPath = [ python2Packages.pythonefl python2Packages.dbus elementary ];
postInstall = ''
wrapProgram $out/bin/econnman-bin --prefix PYTHONPATH : ${python27Packages.dbus}/lib/python2.7/site-packages:${python27Packages.pythonefl}/lib/python2.7/site-packages
wrapPythonPrograms
'';
meta = {