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"; sha256 = "0g0ayql5b9mkjam8hym6zyg6bv77lbh66rv1fyvgqb17kfc1xkpj";
}; };
buildInputs = [ gmp ]; buildInputs = stdenv.lib.optional (!python.isPypy or false) gmp; # optional for pypy
doCheck = !stdenv.isDarwin; # error: AF_UNIX path too long
doCheck = !(python.isPypy or stdenv.isDarwin); # error: AF_UNIX path too long
meta = { meta = {
homepage = "http://www.pycrypto.org/"; homepage = "http://www.pycrypto.org/";