1{ lib, buildPythonPackage, fetchFromGitHub, pytest }: 2 3buildPythonPackage rec { 4 pname = "unicodedata2"; 5 version = "13.0.0-2"; 6 7 src = fetchFromGitHub { 8 owner = "mikekap"; 9 repo = pname; 10 rev = version; 11 sha256 = "0p9brbiwyg98q52y0gfyps52xv57fwqfpq0mn18p1xc1imip3h2b"; 12 }; 13 14 checkInputs = [ pytest ]; 15 checkPhase = "pytest tests"; 16 17 meta = with lib; { 18 description = "Backport and updates for the unicodedata module"; 19 homepage = "https://github.com/mikekap/unicodedata2"; 20 license = licenses.asl20; 21 maintainers = [ maintainers.sternenseemann ]; 22 }; 23}