Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / unicodedata2 / default.nix
blob972aa3093a8cd30ec39e91ec4fd31a707cd9536d
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , pytestCheckHook
5 , pythonOlder
6 }:
8 buildPythonPackage rec {
9   pname = "unicodedata2";
10   version = "15.1.0";
11   format = "setuptools";
13   disabled = pythonOlder "3.7";
15   src = fetchPypi {
16     inherit version pname;
17     hash = "sha256-yzDxia1mSC+FKaRdpxsqiEHpvSuzdswpMwA6SlWgdkg=";
18   };
20   nativeCheckInputs = [
21     pytestCheckHook
22   ];
24   pythonImportsCheck = [
25     "unicodedata2"
26   ];
28   meta = with lib; {
29     description = "Backport and updates for the unicodedata module";
30     homepage = "https://github.com/mikekap/unicodedata2";
31     changelog = "https://github.com/fonttools/unicodedata2/releases/tag/${version}";
32     license = licenses.asl20;
33     maintainers = with maintainers; [ sternenseemann ];
34   };