blob: a3656f5cfbc2ce33be583aa83806c7d45c95c7c4 (
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
44
45
46
47
48
49
50
|
{
lib,
buildPythonPackage,
fetchPypi,
pythonOlder,
autocommand,
importlib-resources,
jaraco-functools,
jaraco-context,
inflect,
pathlib2,
pytestCheckHook,
setuptools-scm,
}:
buildPythonPackage rec {
pname = "jaraco-text";
version = "3.12.1";
format = "pyproject";
disabled = pythonOlder "3.6";
src = fetchPypi {
pname = "jaraco_text";
inherit version;
hash = "sha256-tplJH50HS0/q/f2gQH+lu8XYP0hWB6AS6TRyuhYfaEM=";
};
pythonNamespaces = [ "jaraco" ];
nativeBuildInputs = [ setuptools-scm ];
propagatedBuildInputs = [
autocommand
jaraco-context
jaraco-functools
inflect
] ++ lib.optionals (pythonOlder "3.9") [ importlib-resources ];
nativeCheckInputs = [ pytestCheckHook ] ++ lib.optionals (pythonOlder "3.10") [ pathlib2 ];
pythonImportsCheck = [ "jaraco.text" ];
meta = with lib; {
description = "Module for text manipulation";
homepage = "https://github.com/jaraco/jaraco.text";
license = licenses.mit;
maintainers = with maintainers; [ ];
};
}
|