2019-12-16 04:37:50 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, pythonOlder
|
|
|
|
, importlib-resources
|
2019-03-10 15:36:49 +00:00
|
|
|
, jaraco_functools
|
2019-12-16 04:37:50 +00:00
|
|
|
, setuptools_scm
|
2019-03-10 15:36:49 +00:00
|
|
|
}:
|
2018-09-03 01:20:00 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "jaraco.text";
|
2019-12-16 04:37:50 +00:00
|
|
|
version = "3.2.0";
|
|
|
|
|
2018-09-03 01:20:00 +01:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-12-16 04:37:50 +00:00
|
|
|
sha256 = "1v0hz3h74m31jlbc5bxwkvrx1h2n7887bajrg1n1c3yc4q8qn1z5";
|
2018-09-03 01:20:00 +01:00
|
|
|
};
|
2019-12-16 04:37:50 +00:00
|
|
|
|
|
|
|
nativeBuildInputs =[ setuptools_scm ];
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
jaraco_functools
|
|
|
|
] ++ lib.optional (pythonOlder "3.7") [ importlib-resources ];
|
|
|
|
|
|
|
|
# no tests in pypi package
|
2018-09-03 01:20:00 +01:00
|
|
|
doCheck = false;
|
2019-12-16 04:37:50 +00: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 01:20:00 +01:00
|
|
|
}
|