depot/third_party/nixpkgs/pkgs/development/python-modules/idna/default.nix
Default email e7ec2969af Project import generated by Copybara.
GitOrigin-RevId: 9b19f5e77dd906cb52dade0b7bd280339d2a1f3d
2024-01-13 09:15:51 +01:00

31 lines
546 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, flit-core
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "idna";
version = "3.6";
format = "pyproject";
src = fetchPypi {
inherit pname version;
hash = "sha256-ns270IOwZ5iuHoaty/6KsUec+GTk7jD+TkagA9Ekkco=";
};
nativeBuildInputs = [
flit-core
];
nativeCheckInputs = [
pytestCheckHook
];
meta = {
homepage = "https://github.com/kjd/idna/";
description = "Internationalized Domain Names in Applications (IDNA)";
license = lib.licenses.bsd3;
};
}