Try to update nix pyopenssl.

This commit is contained in:
Itamar Turner-Trauring 2023-06-05 10:29:57 -04:00
parent 96670ded65
commit 01bc35f129
2 changed files with 15 additions and 0 deletions

9
nix/pyopenssl.nix Normal file

@ -0,0 +1,9 @@
{ pyopenssl, fetchPypi }:
pyopenssl.overrideAttrs (old: rec {
pname = "pyopenssl";
version = "23.2.0";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-1b4bkcpzhmablf592g21rq3l8apbhklp6wcwlvgfflm4algr6vr7";
};
})

@ -27,6 +27,12 @@ in {
inherit (super) klein;
};
# Update the version of pyopenssl.
pyopenssl = self.callPackage ./pyopenssl.nix {
# Avoid infinite recursion.
inherit (super) pyopenssl;
};
# collections-extended is currently broken for Python 3.11 in nixpkgs but
# we know where a working version lives.
collections-extended = self.callPackage ./collections-extended.nix {