python.pkgs.backports_ssl_match_hostname: move expression
This commit is contained in:
parent
3e31d23d99
commit
fcc747ffa0
@ -0,0 +1,17 @@
|
||||
{ lib, buildPythonPackage, fetchPypi }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "backports.ssl_match_hostname";
|
||||
version = "3.5.0.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1wndipik52cyqy0677zdgp90i435pmvwd89cz98lm7ri0y3xjajh";
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "The Secure Sockets layer is only actually *secure*";
|
||||
homepage = https://bitbucket.org/brandon/backports.ssl_match_hostname;
|
||||
license = licenses.psfl;
|
||||
};
|
||||
}
|
@ -955,20 +955,8 @@ in {
|
||||
};
|
||||
};
|
||||
|
||||
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";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/b/backports.ssl_match_hostname/${name}.tar.gz";
|
||||
sha256 = "1wndipik52cyqy0677zdgp90i435pmvwd89cz98lm7ri0y3xjajh";
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "The Secure Sockets layer is only actually *secure*";
|
||||
homepage = https://bitbucket.org/brandon/backports.ssl_match_hostname;
|
||||
};
|
||||
};
|
||||
backports_ssl_match_hostname = if !(pythonOlder "3.5") then null else
|
||||
callPackage ../development/python-modules/backports_ssl_match_hostname { };
|
||||
|
||||
backports_lzma = callPackage ../development/python-modules/backports_lzma { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user