2021-12-26 17:43:05 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pythonOlder
|
2022-09-30 11:47:45 +00:00
|
|
|
, autocommand
|
2020-04-24 23:36:52 +00:00
|
|
|
, importlib-resources
|
|
|
|
, jaraco_functools
|
2021-12-26 17:43:05 +00:00
|
|
|
, jaraco-context
|
2022-09-30 11:47:45 +00:00
|
|
|
, inflect
|
|
|
|
, pathlib2
|
|
|
|
, pytestCheckHook
|
2021-06-04 09:07:49 +00:00
|
|
|
, setuptools-scm
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "jaraco.text";
|
2022-09-30 11:47:45 +00:00
|
|
|
version = "3.9.1";
|
2022-08-12 12:06:08 +00:00
|
|
|
format = "pyproject";
|
2021-12-26 17:43:05 +00:00
|
|
|
|
|
|
|
disabled = pythonOlder "3.6";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-09-30 11:47:45 +00:00
|
|
|
sha256 = "sha256-1XzURIpYgCAxhCXgQZTol/lvwjuSuC/5MIok1cvys/s=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-12-26 17:43:05 +00:00
|
|
|
pythonNamespaces = [
|
|
|
|
"jaraco"
|
|
|
|
];
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
setuptools-scm
|
|
|
|
];
|
2020-12-03 08:41:04 +00:00
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
propagatedBuildInputs = [
|
2022-09-30 11:47:45 +00:00
|
|
|
autocommand
|
2021-12-26 17:43:05 +00:00
|
|
|
jaraco-context
|
2020-04-24 23:36:52 +00:00
|
|
|
jaraco_functools
|
2022-09-30 11:47:45 +00:00
|
|
|
inflect
|
2021-12-26 17:43:05 +00:00
|
|
|
] ++ lib.optional (pythonOlder "3.9") [
|
|
|
|
importlib-resources
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2022-09-30 11:47:45 +00:00
|
|
|
checkInputs = [
|
|
|
|
pytestCheckHook
|
|
|
|
] ++ lib.optional (pythonOlder "3.10") [
|
|
|
|
pathlib2
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-12-26 17:43:05 +00:00
|
|
|
pythonImportsCheck = [
|
|
|
|
"jaraco.text"
|
|
|
|
];
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "Module for text manipulation";
|
|
|
|
homepage = "https://github.com/jaraco/jaraco.text";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ ];
|
|
|
|
};
|
|
|
|
}
|