diff options
author | Domen Kožar <domen@dev.si> | 2013-12-29 13:04:39 +0100 |
---|---|---|
committer | Domen Kožar <domen@dev.si> | 2013-12-29 13:06:42 +0100 |
commit | 7324936915bb1c1e0d2cc6ec2683fe2d642dc4ee (patch) | |
tree | 8b1587034ae2871a5e5b3ac96995a126300c2535 | |
parent | cdfd953ffa284afe896bc78fcac43527b9977706 (diff) |
salut_a_toi: use setuptools
-rw-r--r-- | pkgs/applications/networking/instant-messengers/salut-a-toi/default.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/applications/networking/instant-messengers/salut-a-toi/default.nix b/pkgs/applications/networking/instant-messengers/salut-a-toi/default.nix index 4af049390d7e1..326774dc1fe0a 100644 --- a/pkgs/applications/networking/instant-messengers/salut-a-toi/default.nix +++ b/pkgs/applications/networking/instant-messengers/salut-a-toi/default.nix @@ -10,10 +10,11 @@ stdenv.mkDerivation rec { buildInputs = with pythonPackages; [ python twisted urwid beautifulsoup wxPython pygobject - wokkel pythonDBus pyfeed wrapPython + wokkel pythonDBus pyfeed wrapPython setuptools ]; configurePhase = '' + sed -i "/use_setuptools/d" 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 PYTHONPATH=\"\$PYTHONPATHPATH\":\"$PYTHONPATH\":"$out/lib/${python.libPrefix}/site-packages"" -i src/sat.sh |