2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
pytestCheckHook,
|
|
|
|
pythonOlder,
|
2023-11-16 04:20:00 +00:00
|
|
|
}:
|
2020-09-25 04:45:31 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "unicodedata2";
|
2023-11-16 04:20:00 +00:00
|
|
|
version = "15.1.0";
|
|
|
|
format = "setuptools";
|
2020-09-25 04:45:31 +00:00
|
|
|
|
2023-11-16 04:20:00 +00:00
|
|
|
disabled = pythonOlder "3.7";
|
2022-01-26 04:04:25 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit version pname;
|
2023-11-16 04:20:00 +00:00
|
|
|
hash = "sha256-yzDxia1mSC+FKaRdpxsqiEHpvSuzdswpMwA6SlWgdkg=";
|
2020-09-25 04:45:31 +00:00
|
|
|
};
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
2023-11-16 04:20:00 +00:00
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
pythonImportsCheck = [ "unicodedata2" ];
|
2020-09-25 04:45:31 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Backport and updates for the unicodedata module";
|
2020-10-07 09:15:18 +00:00
|
|
|
homepage = "https://github.com/mikekap/unicodedata2";
|
2023-11-16 04:20:00 +00:00
|
|
|
changelog = "https://github.com/fonttools/unicodedata2/releases/tag/${version}";
|
2020-09-25 04:45:31 +00:00
|
|
|
license = licenses.asl20;
|
2023-11-16 04:20:00 +00:00
|
|
|
maintainers = with maintainers; [ sternenseemann ];
|
2020-09-25 04:45:31 +00:00
|
|
|
};
|
|
|
|
}
|