mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
python-cryptography: use older cffi. Closes #9157
This commit is contained in:
parent
db22ec1549
commit
20543fc792
1 changed files with 16 additions and 1 deletions
|
@ -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";
|
||||
|
||||
|
|
Loading…
Reference in a new issue