python-cryptography: use older cffi. Closes #9157

This commit is contained in:
Luca Bruno 2015-08-07 11:51:45 +02:00
parent db22ec1549
commit 20543fc792

View file

@ -2300,7 +2300,7 @@ let
buildInputs = [ pkgs.openssl self.pretend self.cryptography_vectors
self.iso8601 self.pyasn1 self.pytest ];
propagatedBuildInputs = [ self.six ] ++ optional (!isPyPy) self.cffi;
propagatedBuildInputs = [ self.six ] ++ optional (!isPyPy) self.cffi_0_8;
};
cryptography_vectors = buildPythonPackage rec {
@ -2402,6 +2402,21 @@ let
};
};
cffi_0_8 = buildPythonPackage rec {
name = "cffi-0.8.6";
src = pkgs.fetchurl {
url = "http://pypi.python.org/packages/source/c/cffi/${name}.tar.gz";
sha256 = "0406j3sgndmx88idv5zxkkrwfqxmjl18pj8gf47nsg4ymzixjci5";
};
propagatedBuildInputs = with self; [ pkgs.libffi pycparser ];
meta = {
maintainers = with maintainers; [ iElectric ];
};
};
cffi = buildPythonPackage rec {
name = "cffi-1.1.2";