python310Packages.unicodedata2: modernize

This commit is contained in:
Fabian Affolter
2023-11-12 13:41:56 +01:00
committed by GitHub
parent 1155b21e5d
commit a4fc57190f
@@ -1,17 +1,25 @@
{ lib, buildPythonPackage, fetchPypi, pytestCheckHook, isPy27 }:
{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "unicodedata2";
version = "15.1.0";
format = "setuptools";
disabled = isPy27;
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit version pname;
sha256 = "sha256-yzDxia1mSC+FKaRdpxsqiEHpvSuzdswpMwA6SlWgdkg=";
hash = "sha256-yzDxia1mSC+FKaRdpxsqiEHpvSuzdswpMwA6SlWgdkg=";
};
nativeCheckInputs = [ pytestCheckHook ];
nativeCheckInputs = [
pytestCheckHook
];
meta = with lib; {
description = "Backport and updates for the unicodedata module";