2019-12-16 05:37:50 +01:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, pythonOlder
|
|
|
|
, importlib-resources
|
2019-03-10 16:36:49 +01:00
|
|
|
, jaraco_functools
|
2019-12-16 05:37:50 +01:00
|
|
|
, setuptools_scm
|
2019-03-10 16:36:49 +01:00
|
|
|
}:
|
2018-09-03 02:20:00 +02:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "jaraco.text";
|
2019-12-16 05:37:50 +01:00
|
|
|
version = "3.2.0";
|
|
|
|
|
2018-09-03 02:20:00 +02:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-12-16 05:37:50 +01:00
|
|
|
sha256 = "1v0hz3h74m31jlbc5bxwkvrx1h2n7887bajrg1n1c3yc4q8qn1z5";
|
2018-09-03 02:20:00 +02:00
|
|
|
};
|
2019-12-16 05:37:50 +01:00
|
|
|
|
|
|
|
nativeBuildInputs =[ setuptools_scm ];
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
jaraco_functools
|
|
|
|
] ++ lib.optional (pythonOlder "3.7") [ importlib-resources ];
|
|
|
|
|
|
|
|
# no tests in pypi package
|
2018-09-03 02:20:00 +02:00
|
|
|
doCheck = false;
|
2019-12-16 05:37:50 +01:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Module for text manipulation";
|
|
|
|
homepage = "https://github.com/jaraco/jaraco.text";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ ];
|
|
|
|
};
|
|
|
|
|
2018-09-03 02:20:00 +02:00
|
|
|
}
|