Unverified Commit a4fc5719 authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

python310Packages.unicodedata2: modernize

parent 1155b21e
Loading
Loading
Loading
Loading
+12 −4
Original line number Diff line number Diff line
{ 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";