2019-12-16 04:37:50 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, pythonOlder
|
|
|
|
, importlib-resources
|
2019-03-10 15:36:49 +00:00
|
|
|
, jaraco_functools
|
2021-06-03 11:09:11 +01:00
|
|
|
, setuptools-scm
|
2019-03-10 15:36:49 +00:00
|
|
|
}:
|
2018-09-03 01:20:00 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "jaraco.text";
|
2021-08-26 20:32:36 +01:00
|
|
|
version = "3.5.1";
|
2019-12-16 04:37:50 +00:00
|
|
|
|
2018-09-03 01:20:00 +01:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-08-26 20:32:36 +01:00
|
|
|
sha256 = "ede4e9103443b62b3d1d193257dfb85aab7c69a6cef78a0887d64bb307a03bc3";
|
2018-09-03 01:20:00 +01:00
|
|
|
};
|
2019-12-16 04:37:50 +00:00
|
|
|
|
2020-11-20 18:52:15 +00:00
|
|
|
pythonNamespaces = [ "jaraco" ];
|
|
|
|
|
2021-06-03 11:09:11 +01:00
|
|
|
nativeBuildInputs =[ setuptools-scm ];
|
2019-12-16 04:37:50 +00:00
|
|
|
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
|
|
|
}
|