aboutsummaryrefslogtreecommitdiff
path: root/infra/libkookie/nixpkgs/pkgs/development/python-modules/cryptography/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'infra/libkookie/nixpkgs/pkgs/development/python-modules/cryptography/default.nix')
-rw-r--r--infra/libkookie/nixpkgs/pkgs/development/python-modules/cryptography/default.nix15
1 files changed, 11 insertions, 4 deletions
diff --git a/infra/libkookie/nixpkgs/pkgs/development/python-modules/cryptography/default.nix b/infra/libkookie/nixpkgs/pkgs/development/python-modules/cryptography/default.nix
index 426f6af7aa61..41802f0d0651 100644
--- a/infra/libkookie/nixpkgs/pkgs/development/python-modules/cryptography/default.nix
+++ b/infra/libkookie/nixpkgs/pkgs/development/python-modules/cryptography/default.nix
@@ -22,22 +22,29 @@
buildPythonPackage rec {
pname = "cryptography";
- version = "3.1.1"; # Also update the hash in vectors.nix
+ version = "3.2.1"; # Also update the hash in vectors.nix
src = fetchPypi {
inherit pname version;
- sha256 = "0z81q4d1nangw3r0v5f41mfl4d9r04qnbayl5ll5v5jpcfhwd7wx";
+ sha256 = "1qxz02kfsrihq1h4afyqwcsv9nh3s9mmrr6y9lhi4angw05y3mfk";
};
outputs = [ "out" "dev" ];
+ nativeBuildInputs = stdenv.lib.optionals (!isPyPy) [
+ cffi
+ ];
+
buildInputs = [ openssl ]
++ stdenv.lib.optional stdenv.isDarwin darwin.apple_sdk.frameworks.Security;
propagatedBuildInputs = [
packaging
six
- ] ++ stdenv.lib.optional (!isPyPy) cffi
- ++ stdenv.lib.optionals isPy27 [ ipaddress enum34 ];
+ ] ++ stdenv.lib.optionals (!isPyPy) [
+ cffi
+ ] ++ stdenv.lib.optionals isPy27 [
+ ipaddress enum34
+ ];
checkInputs = [
cryptography_vectors