mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 04:43:09 +03:00
salut_a_toi: use setuptools
This commit is contained in:
parent
cdfd953ffa
commit
7324936915
@ -10,10 +10,11 @@ stdenv.mkDerivation rec {
|
|||||||
buildInputs = with pythonPackages;
|
buildInputs = with pythonPackages;
|
||||||
[
|
[
|
||||||
python twisted urwid beautifulsoup wxPython pygobject
|
python twisted urwid beautifulsoup wxPython pygobject
|
||||||
wokkel pythonDBus pyfeed wrapPython
|
wokkel pythonDBus pyfeed wrapPython setuptools
|
||||||
];
|
];
|
||||||
|
|
||||||
configurePhase = ''
|
configurePhase = ''
|
||||||
|
sed -i "/use_setuptools/d" setup.py
|
||||||
sed -e "s@sys.prefix@'$out'@g" -i setup.py
|
sed -e "s@sys.prefix@'$out'@g" -i setup.py
|
||||||
sed -e "1aexport PATH=\"\$PATH\":\"$out/bin\":\"${pythonPackages.twisted}/bin\"" -i src/sat.sh
|
sed -e "1aexport PATH=\"\$PATH\":\"$out/bin\":\"${pythonPackages.twisted}/bin\"" -i src/sat.sh
|
||||||
sed -e "1aexport PYTHONPATH=\"\$PYTHONPATHPATH\":\"$PYTHONPATH\":"$out/lib/${python.libPrefix}/site-packages"" -i src/sat.sh
|
sed -e "1aexport PYTHONPATH=\"\$PYTHONPATHPATH\":\"$PYTHONPATH\":"$out/lib/${python.libPrefix}/site-packages"" -i src/sat.sh
|
||||||
|
Loading…
Reference in New Issue
Block a user