Created
March 26, 2021 12:30
-
-
Save exarkun/9a048592c746a7e383fcc864761dedd3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
self: super: rec { | |
openssl_1_1 = super.openssl_1_1.overrideAttrs (old: rec { | |
version = "1.1.1k"; | |
pname = "openssl"; | |
name = "${pname}-${version}"; | |
src = builtins.fetchurl { | |
url = "https://www.openssl.org/source/${pname}-${version}.tar.gz"; | |
sha256 = "1rdfzcrxy9y38wqdw5942vmdax9hjhgrprzxm42csal7p5shhal9"; | |
}; | |
}); | |
openssl = openssl_1_1; | |
python2 = super.python2.override (old: { | |
packageOverrides = python-self: python-super: { | |
pyopenssl = python-super.callPackage ./pkgs/pyopenssl.nix { }; | |
cryptography = python-super.cryptography.overridePythonAttrs (old: { | |
version = "3.2.1"; | |
src = python-super.fetchPypi { | |
version = "3.2.1"; | |
pname = "cryptography"; | |
sha256 = "sha256:1qxz02kfsrihq1h4afyqwcsv9nh3s9mmrr6y9lhi4angw05y3mfk"; | |
}; | |
patches = []; | |
}); | |
cryptography_vectors = python-super.cryptography_vectors.overridePythonAttrs (old: { | |
version = "3.2.1"; | |
src = python-super.fetchPypi { | |
version = "3.2.1"; | |
pname = "cryptography_vectors"; | |
sha256 = "sha256:12dq1grn0bjj7c6sj6apd6328525n7xq4kbbmww63sn3x7081vls"; | |
}; | |
}); | |
}; | |
}); | |
python3 = super.python3.override (old: { | |
packageOverrides = python-self: python-super: { | |
pyopenssl = python-super.callPackage ./pkgs/pyopenssl.nix { }; | |
cryptography = python-super.cryptography.overridePythonAttrs (old: { | |
version = "3.2.1"; | |
src = python-super.fetchPypi { | |
version = "3.2.1"; | |
pname = "cryptography"; | |
sha256 = "sha256:1qxz02kfsrihq1h4afyqwcsv9nh3s9mmrr6y9lhi4angw05y3mfk"; | |
}; | |
patches = []; | |
}); | |
cryptography_vectors = python-super.cryptography_vectors.overridePythonAttrs (old: { | |
version = "3.2.1"; | |
src = python-super.fetchPypi { | |
version = "3.2.1"; | |
pname = "cryptography_vectors"; | |
sha256 = "sha256:12dq1grn0bjj7c6sj6apd6328525n7xq4kbbmww63sn3x7081vls"; | |
}; | |
}); | |
}; | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment