mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
python.pkgs.backports_ssl_match_hostname: set to null conditionally
This commit is contained in:
parent
a6bb22853a
commit
e9794d5a38
1 changed files with 2 additions and 2 deletions
|
@ -1011,7 +1011,7 @@ in {
|
|||
|
||||
backports_shutil_get_terminal_size = callPackage ../development/python-modules/backports_shutil_get_terminal_size { };
|
||||
|
||||
backports_ssl_match_hostname_3_4_0_2 = self.buildPythonPackage rec {
|
||||
backports_ssl_match_hostname_3_4_0_2 = if !(pythonOlder "3.5") then null else self.buildPythonPackage rec {
|
||||
name = "backports.ssl_match_hostname-3.4.0.2";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
|
@ -1025,7 +1025,7 @@ in {
|
|||
};
|
||||
};
|
||||
|
||||
backports_ssl_match_hostname = self.buildPythonPackage rec {
|
||||
backports_ssl_match_hostname = if !(pythonOlder "3.5") then null else self.buildPythonPackage rec {
|
||||
name = "backports.ssl_match_hostname-${version}";
|
||||
version = "3.5.0.1";
|
||||
|
||||
|
|
Loading…
Reference in a new issue