forked from mirrors/nixpkgs
32 lines
542 B
Nix
32 lines
542 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, flit-core
|
|
, pytestCheckHook
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "idna";
|
|
version = "3.4";
|
|
format = "pyproject";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-gU9Sjo3q19MpgzuRxfqofWC/cYJM0Sp1MLVSYGPQLLQ=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
flit-core
|
|
];
|
|
|
|
checkInputs = [
|
|
pytestCheckHook
|
|
];
|
|
|
|
meta = {
|
|
homepage = "https://github.com/kjd/idna/";
|
|
description = "Internationalized Domain Names in Applications (IDNA)";
|
|
license = lib.licenses.bsd3;
|
|
};
|
|
}
|