@@ -1,15 +1,31 @@
1−{ buildPythonPackage, fetchPypi, setuptools_scm
1+{ lib, buildPythonPackage, fetchPypi, pythonOlder
2+, importlib-resources
23, jaraco_functools
4+, setuptools_scm
35}:
46
57buildPythonPackage rec {
68 pname = "jaraco.text";
7− version = "3.1";
9+ version = "3.2.0";
10+
811 src = fetchPypi {
912 inherit pname version;
10− sha256 = "0c7effed0f269e8bdae3374a7545763e84c1e7f9777cf2dd2d49eef92eb0d7b7";
13+ sha256 = "1v0hz3h74m31jlbc5bxwkvrx1h2n7887bajrg1n1c3yc4q8qn1z5";
1114 };
15+
16+ nativeBuildInputs =[ setuptools_scm ];
17+ propagatedBuildInputs = [
18+ jaraco_functools
19+ ] ++ lib.optional (pythonOlder "3.7") [ importlib-resources ];
20+
21+ # no tests in pypi package
1222 doCheck = false;
13− buildInputs =[ setuptools_scm ];
14− propagatedBuildInputs = [ jaraco_functools ];
23+
24+ meta = with lib; {
25+ description = "Module for text manipulation";
26+ homepage = "https://github.com/jaraco/jaraco.text";
27+ license = licenses.mit;
28+ maintainers = with maintainers; [ ];
29+ };
30+
1531}