depot/third_party/nixpkgs/pkgs/development/python-modules/grapheme/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

32 lines
701 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
pythonOlder,
}:
buildPythonPackage rec {
pname = "grapheme";
version = "0.6.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
sha256 = "1jiwc3w05c8kh22s3zk7a8km8na3plqc5zimb2qcyxxy3grbkhj4";
};
# Tests are no available on PyPI
# https://github.com/alvinlindstam/grapheme/issues/18
doCheck = false;
pythonImportsCheck = [ "grapheme" ];
meta = with lib; {
description = "Python package for grapheme aware string handling";
homepage = "https://github.com/alvinlindstam/grapheme";
license = licenses.mit;
maintainers = with maintainers; [ creator54 ];
};
}