adopt rest of the packages that were failing with the buildPythonPackage changes

This commit is contained in:
Domen Kožar
2014-01-06 22:35:39 +00:00
parent 6adfd13dd4
commit fae6079a01
11 changed files with 129 additions and 151 deletions

View File

@@ -9,17 +9,7 @@ buildPythonPackage rec {
sha256 = "0g0ayql5b9mkjam8hym6zyg6bv77lbh66rv1fyvgqb17kfc1xkpj";
};
buildInputs = [ python gmp ];
buildPhase =
''
python ./setup.py build_ext --library-dirs=${gmp}/lib
'';
# installPhase =
# ''
# python ./setup.py install --prefix=$out
# '';
buildInputs = [ gmp ];
meta = {
homepage = "http://www.pycrypto.org/";

View File

@@ -14,7 +14,12 @@ buildPythonPackage rec {
propagatedBuildInputs = [ gtk pygobject pycairo ];
installCommand = "make install";
configurePhase = "configurePhase";
buildPhase = "buildPhase";
installPhase = "installPhase";
checkPhase = stdenv.lib.optionalString (libglade == null)
''
sed -i -e "s/glade = importModule('gtk.glade', buildDir)//" \