From 4efcd73d72ed9909eaa7cbdf1fe57ee3aa9618d8 Mon Sep 17 00:00:00 2001 From: Jonathan Ringer Date: Thu, 6 Aug 2020 23:37:01 -0700 Subject: [PATCH] azure-cli: pin cryptography --- pkgs/tools/admin/azure-cli/python-packages.nix | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/pkgs/tools/admin/azure-cli/python-packages.nix b/pkgs/tools/admin/azure-cli/python-packages.nix index 1f7a0a397429..d76ecc430a8a 100644 --- a/pkgs/tools/admin/azure-cli/python-packages.nix +++ b/pkgs/tools/admin/azure-cli/python-packages.nix @@ -328,6 +328,19 @@ let ''; }); + cryptography = super.cryptography.overridePythonAttrs(oldAttrs: rec { + version = "2.9.2"; + + src = super.fetchPypi { + inherit (oldAttrs) pname; + inherit version; + sha256 = "0af25w5mkd6vwns3r6ai1w5ip9xp0ms9s261zzssbpadzdr05hx0"; + }; + + # prevent cycle with cryptography-vectors + doCheck = false; + }); + knack = super.knack.overridePythonAttrs(oldAttrs: rec { version = "0.7.1";