blob: 054f68ba2f2443a8a9fb57f009f2425cae3e093f (
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
51
|
{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, importlib-resources
, jaraco_functools
, jaraco-context
, setuptools-scm
}:
buildPythonPackage rec {
pname = "jaraco.text";
version = "3.6.0";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "901d3468eaaa04f1d8a8f141f54b8887bfd943ccba311fc1c1de62c66604dfe0";
};
pythonNamespaces = [
"jaraco"
];
nativeBuildInputs = [
setuptools-scm
];
propagatedBuildInputs = [
jaraco-context
jaraco_functools
] ++ lib.optional (pythonOlder "3.9") [
importlib-resources
];
# no tests in pypi package
doCheck = false;
pythonImportsCheck = [
"jaraco.text"
];
meta = with lib; {
description = "Module for text manipulation";
homepage = "https://github.com/jaraco/jaraco.text";
license = licenses.mit;
maintainers = with maintainers; [ ];
};
}
|