m2crypto: Use SWIG 2

Fixes "AttributeError: 'module' object has no attribute 'PKCS5_SALT_LEN'".

Fixes #9457.
This commit is contained in:
Eelco Dolstra 2015-09-21 16:14:27 +02:00
parent 2d21e1e4ff
commit 6d42b79b29

View File

@ -7979,7 +7979,7 @@ let
md5 = "f93d8462ff7646397a9f77a2fe602d17";
};
buildInputs = with self; [ pkgs.swig pkgs.openssl ];
buildInputs = with self; [ pkgs.swig2 pkgs.openssl ];
preBuild = "${python}/bin/${python.executable} setup.py build_ext --openssl=${pkgs.openssl}";