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