diff --git a/pkgs/development/python-modules/grapheme/default.nix b/pkgs/development/python-modules/grapheme/default.nix new file mode 100644 index 000000000000..54e0b45bbc34 --- /dev/null +++ b/pkgs/development/python-modules/grapheme/default.nix @@ -0,0 +1,22 @@ +{ lib, buildPythonPackage, fetchPypi, pythonOlder }: + +buildPythonPackage rec { + pname = "grapheme"; + version = "0.6.0"; + + disabled = pythonOlder "3.7"; + + src = fetchPypi { + inherit pname version; + sha256 = "1jiwc3w05c8kh22s3zk7a8km8na3plqc5zimb2qcyxxy3grbkhj4"; + }; + + pythonImportsCheck = [ "grapheme" ]; + + meta = with lib; { + homepage = "https://github.com/alvinlindstam/grapheme"; + description = "A python package for grapheme aware string handling"; + maintainers = with maintainers; [ creator54 ]; + license = licenses.mit; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index fae8daecada7..e9ee2cc6f0b3 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -3425,6 +3425,8 @@ in { grandalf = callPackage ../development/python-modules/grandalf { }; + grapheme = callPackage ../development/python-modules/grapheme { }; + graphite_api = callPackage ../development/python-modules/graphite-api { }; graphite_beacon = callPackage ../development/python-modules/graphite_beacon { };