python2Packages.idna: keep 2.10
This commit is contained in:
parent
90d59427ed
commit
91516e5e39
20
pkgs/development/python-modules/idna/2.nix
Normal file
20
pkgs/development/python-modules/idna/2.nix
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "idna";
|
||||||
|
version = "2.10";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "b307872f855b18632ce0c21c5e45be78c0ea7ae4c15c828c20788b26921eb3f6";
|
||||||
|
};
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
homepage = "https://github.com/kjd/idna/";
|
||||||
|
description = "Internationalized Domain Names in Applications (IDNA)";
|
||||||
|
license = lib.licenses.bsd3;
|
||||||
|
};
|
||||||
|
}
|
@ -3241,7 +3241,10 @@ in {
|
|||||||
|
|
||||||
identify = callPackage ../development/python-modules/identify { };
|
identify = callPackage ../development/python-modules/identify { };
|
||||||
|
|
||||||
idna = callPackage ../development/python-modules/idna { };
|
idna = if isPy3k then
|
||||||
|
callPackage ../development/python-modules/idna { }
|
||||||
|
else
|
||||||
|
callPackage ../development/python-modules/idna/2.nix { };
|
||||||
|
|
||||||
idna-ssl = callPackage ../development/python-modules/idna-ssl { };
|
idna-ssl = callPackage ../development/python-modules/idna-ssl { };
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user