2020-08-24 11:14:29 +01:00
|
|
|
{ lib, buildPythonPackage, fetchFromGitHub, pytest }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "unicodedata2";
|
|
|
|
version = "13.0.0-2";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mikekap";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
|
|
|
sha256 = "0p9brbiwyg98q52y0gfyps52xv57fwqfpq0mn18p1xc1imip3h2b";
|
|
|
|
};
|
|
|
|
|
|
|
|
checkInputs = [ pytest ];
|
|
|
|
checkPhase = "pytest tests";
|
|
|
|
|
|
|
|
meta = with lib; {
|
2020-08-30 23:58:53 +01:00
|
|
|
description = "Backport and updates for the unicodedata module";
|
2020-10-02 08:58:50 +01:00
|
|
|
homepage = "https://github.com/mikekap/unicodedata2";
|
2020-08-24 11:14:29 +01:00
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = [ maintainers.sternenseemann ];
|
|
|
|
};
|
|
|
|
}
|