Files
nixpkgs/pkgs/development/python-modules/graphemeu/default.nix
T

43 lines
875 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
hatchling,
pytestCheckHook,
pytest-cov-stub,
}:
buildPythonPackage (finalAttrs: {
pname = "graphemeu";
version = "0.10.0";
pyproject = true;
src = fetchFromGitHub {
owner = "timendum";
repo = "grapheme";
tag = "v${finalAttrs.version}";
hash = "sha256-qDspbeOmlfQ4VLPdKEuxNPYilKjwUcAJiEOMfx9fFlI=";
};
build-system = [
hatchling
];
nativeCheckInputs = [
pytest-cov-stub
pytestCheckHook
];
pythonImportsCheck = [
"grapheme"
];
meta = {
description = "Python package for grapheme aware string handling";
homepage = "https://github.com/timendum/grapheme";
changelog = "https://github.com/timendum/grapheme/blob/v${finalAttrs.version}/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ anthonyroussel ];
};
})