1{ lib, buildPythonPackage, fetchPypi, pytestCheckHook, isPy27 }:
2
3buildPythonPackage rec {
4 pname = "unicodedata2";
5 version = "15.0.0";
6
7 disabled = isPy27;
8
9 src = fetchPypi {
10 inherit version pname;
11 sha256 = "0bcgls7m2zndpd8whgznnd5908jbsa50si2bh88wsn0agcznhv7d";
12 };
13
14 nativeCheckInputs = [ pytestCheckHook ];
15
16 meta = with lib; {
17 description = "Backport and updates for the unicodedata module";
18 homepage = "https://github.com/mikekap/unicodedata2";
19 license = licenses.asl20;
20 maintainers = [ maintainers.sternenseemann ];
21 };
22}