nixpkgs/pkgs/development/python2-modules/idna/default.nix

24 lines
470 B
Nix
Raw Normal View History

2021-03-24 10:54:25 +00:00
{ lib
, buildPythonPackage
, fetchPypi
2021-03-24 16:39:23 +00:00
, pytestCheckHook
2021-03-24 10:54:25 +00:00
}:
buildPythonPackage rec {
pname = "idna";
version = "2.10";
src = fetchPypi {
inherit pname version;
sha256 = "b307872f855b18632ce0c21c5e45be78c0ea7ae4c15c828c20788b26921eb3f6";
};
2021-03-24 16:39:23 +00:00
checkInputs = [ pytestCheckHook ];
2021-03-24 10:54:25 +00:00
meta = {
homepage = "https://github.com/kjd/idna/";
description = "Internationalized Domain Names in Applications (IDNA)";
license = lib.licenses.bsd3;
};
}