pypyPackages.pycrypto: make it work

This commit is contained in:
Domen Kožar 2014-08-23 19:18:12 +02:00
parent f1a1c89f50
commit 9cbc216576

View File

@ -9,10 +9,9 @@ buildPythonPackage rec {
sha256 = "0g0ayql5b9mkjam8hym6zyg6bv77lbh66rv1fyvgqb17kfc1xkpj";
};
buildInputs = [ gmp ];
doCheck = !stdenv.isDarwin; # error: AF_UNIX path too long
buildInputs = stdenv.lib.optional (!python.isPypy or false) gmp; # optional for pypy
doCheck = !(python.isPypy or stdenv.isDarwin); # error: AF_UNIX path too long
meta = {
homepage = "http://www.pycrypto.org/";