2c76a4cb41
GitOrigin-RevId: c757e9bd77b16ca2e03c89bf8bc9ecb28e0c06ad
35 lines
752 B
Nix
35 lines
752 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pytestCheckHook
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "unicodedata2";
|
|
version = "15.1.0";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit version pname;
|
|
hash = "sha256-yzDxia1mSC+FKaRdpxsqiEHpvSuzdswpMwA6SlWgdkg=";
|
|
};
|
|
|
|
nativeCheckInputs = [
|
|
pytestCheckHook
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"unicodedata2"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Backport and updates for the unicodedata module";
|
|
homepage = "https://github.com/mikekap/unicodedata2";
|
|
changelog = "https://github.com/fonttools/unicodedata2/releases/tag/${version}";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ sternenseemann ];
|
|
};
|
|
}
|