blob: ab3520d52a00c9b3658d6fd9de073aeeb7da06e8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
setuptools,
}:
buildPythonPackage rec {
pname = "pyunormalize";
version = "17.0.0";
pyproject = true;
src = fetchFromGitHub {
owner = "mlodewijck";
repo = "pyunormalize";
tag = "v${version}";
hash = "sha256-JDcMWaA6r8YRZYJseyKUyPAInrqHHYhQXYmw9rr3ls4=";
};
build-system = [ setuptools ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "pyunormalize" ];
meta = {
description = "Unicode normalization forms (NFC, NFKC, NFD, NFKD) independent of the Python core Unicode database";
homepage = "https://github.com/mlodewijck/pyunormalize";
changelog = "https://github.com/mlodewijck/pyunormalize/releases/tag/${src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ hellwolf ];
};
}
|