anki-bin: 24.06.3 -> 24.11 (#360722)
[NixPkgs.git] / pkgs / development / python-modules / normality / default.nix
blob9777c60b67232398a22232180566fabc2426c611
2   lib,
3   fetchFromGitHub,
4   buildPythonPackage,
5   setuptools,
6   setuptools-scm,
7   text-unidecode,
8   charset-normalizer,
9   chardet,
10   banal,
11   pyicu,
12   pytestCheckHook,
14 buildPythonPackage rec {
15   pname = "normality";
16   version = "2.5.0";
17   pyproject = true;
19   src = fetchFromGitHub {
20     owner = "pudo";
21     repo = "normality";
22     rev = version;
23     hash = "sha256-cGQpNhUqlT2B9wKDoDeDmyCNQLwWR7rTCLxnPHhMR0w=";
24   };
26   buildInputs = [
27     setuptools
28     setuptools-scm
29   ];
31   propagatedBuildInputs = [
32     charset-normalizer
33     text-unidecode
34     chardet
35     banal
36     pyicu
37   ];
39   nativeCheckInputs = [ pytestCheckHook ];
40   pythonImportsCheck = [ "normality" ];
42   meta = {
43     description = "Micro-library to normalize text strings";
44     homepage = "https://github.com/pudo/normality";
45     license = lib.licenses.mit;
46     maintainers = with lib.maintainers; [ sigmanificient ];
47   };