connman-gtk: fix FTBFS with GCC-14 (incompatible pointer types) (#376077)
[NixPkgs.git] / pkgs / development / python-modules / unidecode / default.nix
blobaa19b4478861ca3a337a80e5ff1ad626a443075f
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   pytestCheckHook,
6   pythonOlder,
7   setuptools,
8 }:
10 buildPythonPackage rec {
11   pname = "unidecode";
12   version = "1.3.8";
13   pyproject = true;
15   disabled = pythonOlder "3.5";
17   src = fetchFromGitHub {
18     owner = "avian2";
19     repo = "unidecode";
20     rev = "refs/tags/${pname}-${version}";
21     hash = "sha256-OoJSY+dNNISyVwKuRboMH7Je8nYFKxus2c4v3VsmyRE=";
22   };
24   nativeBuildInputs = [ setuptools ];
26   nativeCheckInputs = [ pytestCheckHook ];
28   pythonImportsCheck = [ "unidecode" ];
30   meta = with lib; {
31     description = "ASCII transliterations of Unicode text";
32     mainProgram = "unidecode";
33     homepage = "https://github.com/avian2/unidecode";
34     changelog = "https://github.com/avian2/unidecode/blob/unidecode-${version}/ChangeLog";
35     license = licenses.gpl2Plus;
36     maintainers = with maintainers; [ domenkozar ];
37   };