blob: 23263403fbd25d531349a911adce66301f2078f8 (
plain) (
blame)
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
35
36
37
38
39
40
41
42
43
|
{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, pythonOlder
, setuptools
}:
buildPythonPackage rec {
pname = "unidecode";
version = "1.3.8";
pyproject = true;
disabled = pythonOlder "3.5";
src = fetchFromGitHub {
owner = "avian2";
repo = "unidecode";
rev = "refs/tags/${pname}-${version}";
hash = "sha256-OoJSY+dNNISyVwKuRboMH7Je8nYFKxus2c4v3VsmyRE=";
};
nativeBuildInputs = [
setuptools
];
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"unidecode"
];
meta = with lib; {
description = "ASCII transliterations of Unicode text";
mainProgram = "unidecode";
homepage = "https://github.com/avian2/unidecode";
changelog = "https://github.com/avian2/unidecode/blob/unidecode-${version}/ChangeLog";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ domenkozar ];
};
}
|