mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-22 05:19:00 +02:00
python3Packages.jaraco.text: 3.8.1 -> 3.9.1
This commit is contained in:
parent
33b94889fd
commit
dfd910af8d
|
@ -2,22 +2,26 @@
|
|||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pythonOlder
|
||||
, autocommand
|
||||
, importlib-resources
|
||||
, jaraco_functools
|
||||
, jaraco-context
|
||||
, inflect
|
||||
, pathlib2
|
||||
, pytestCheckHook
|
||||
, setuptools-scm
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "jaraco.text";
|
||||
version = "3.8.1";
|
||||
version = "3.9.1";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-RQlXw/j7mlU9nT5gc4czqxxcwns2pGM0KtuTfppwqz4=";
|
||||
sha256 = "sha256-1XzURIpYgCAxhCXgQZTol/lvwjuSuC/5MIok1cvys/s=";
|
||||
};
|
||||
|
||||
pythonNamespaces = [
|
||||
|
@ -29,14 +33,19 @@ buildPythonPackage rec {
|
|||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
autocommand
|
||||
jaraco-context
|
||||
jaraco_functools
|
||||
inflect
|
||||
] ++ lib.optional (pythonOlder "3.9") [
|
||||
importlib-resources
|
||||
];
|
||||
|
||||
# no tests in pypi package
|
||||
doCheck = false;
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
] ++ lib.optional (pythonOlder "3.10") [
|
||||
pathlib2
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"jaraco.text"
|
||||
|
|
Loading…
Reference in a new issue