Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / normality / default.nix
blob862b3af9295852c7bf42fc30c1af2982bfd87e90
1 { lib
2 , fetchFromGitHub
3 , buildPythonPackage
4 , text-unidecode
5 , chardet
6 , banal
7 , pyicu
8 , pytestCheckHook
9 }:
10 buildPythonPackage rec {
11   pname = "normality";
12   version = "2.2.5";
13   format = "setuptools";
15   src = fetchFromGitHub {
16     owner = "pudo";
17     repo = "normality";
18     rev = version;
19     sha256 = "n8Ycm5DeFItmMJTolazZKGIyN7CTg2ajDCwi/UqzVe8=";
20   };
22   propagatedBuildInputs = [
23     text-unidecode
24     chardet
25     banal
26     pyicu
27   ];
29   nativeCheckInputs = [
30     pytestCheckHook
31   ];
33   pythonImportsCheck = [
34     "normality"
35   ];
37   meta = with lib; {
38     description = "Micro-library to normalize text strings";
39     homepage = "https://github.com/pudo/normality";
40     license = licenses.mit;
41     maintainers = [ ];
42   };