python-packages: refer to current python build instead of hard-coded py27

This commit is contained in:
Domen Kožar 2014-11-15 18:55:12 +01:00
parent 0d4f0500cb
commit 830141f918

View File

@ -6767,7 +6767,7 @@ let
sha256 = "33b2b79438bb9bf37097966e1c90403c34ab49be1eb647ee251b62f362ee3537"; sha256 = "33b2b79438bb9bf37097966e1c90403c34ab49be1eb647ee251b62f362ee3537";
}; };
buildInputs = with pkgs; [ capnproto cython ]; buildInputs = with pkgs; [ capnproto self.cython ];
# import setuptools as soon as possible, to minimize monkeypatching mayhem. # import setuptools as soon as possible, to minimize monkeypatching mayhem.
postConfigure = '' postConfigure = ''
@ -7885,10 +7885,10 @@ let
sha1 = "76ba4991322a991d580e78a197adc80d58bd5fb3"; sha1 = "76ba4991322a991d580e78a197adc80d58bd5fb3";
}; };
propagatedBuildInputs = with self; [ numpy scipy matplotlib pkgs.pyqt4 propagatedBuildInputs = with self; [ numpy scipy matplotlib pyqt4
cython ]; cython ];
buildInputs = with pkgs; [ gcc qt4 blas self.nose ]; buildInputs = [ pkgs.gcc pkgs.qt4 pkgs.blas self.nose ];
meta = { meta = {
description = "QuTiP - Quantum Toolbox in Python"; description = "QuTiP - Quantum Toolbox in Python";