Merge pull request #198643 from r-ryantm/auto-update/python310Packages.python-utils
python310Packages.python-utils: 3.3.3 -> 3.4.5
This commit is contained in:
commit
dc3446688c
1 changed files with 20 additions and 11 deletions
|
@ -2,36 +2,44 @@
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, loguru
|
, loguru
|
||||||
, pytestCheckHook
|
, pytest-asyncio
|
||||||
, six
|
|
||||||
, pytest-mypy
|
, pytest-mypy
|
||||||
|
, pytestCheckHook
|
||||||
|
, pythonOlder
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "python-utils";
|
pname = "python-utils";
|
||||||
version = "3.3.3";
|
version = "3.4.5";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "WoLpH";
|
owner = "WoLpH";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
hash = "sha256-U6yamXbG8CUrNnFmGTBpHUelZSgoaNyB2CdUSH9WdMA=";
|
hash = "sha256-O/+jvdzzxUFaQdAfUM9p40fPPDNN+stTauCD993HH6Y=";
|
||||||
};
|
};
|
||||||
|
|
||||||
# disable coverage and linting
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
sed -i '/--cov/d' pytest.ini
|
sed -i '/--cov/d' pytest.ini
|
||||||
sed -i '/--flake8/d' pytest.ini
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
passthru.optional-dependencies = {
|
||||||
|
loguru = [
|
||||||
loguru
|
loguru
|
||||||
six
|
|
||||||
];
|
];
|
||||||
|
};
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
|
pytest-asyncio
|
||||||
pytest-mypy
|
pytest-mypy
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
|
] ++ passthru.optional-dependencies.loguru;
|
||||||
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"python_utils"
|
||||||
];
|
];
|
||||||
|
|
||||||
pytestFlagsArray = [
|
pytestFlagsArray = [
|
||||||
|
@ -42,5 +50,6 @@ buildPythonPackage rec {
|
||||||
description = "Module with some convenient utilities";
|
description = "Module with some convenient utilities";
|
||||||
homepage = "https://github.com/WoLpH/python-utils";
|
homepage = "https://github.com/WoLpH/python-utils";
|
||||||
license = licenses.bsd3;
|
license = licenses.bsd3;
|
||||||
|
maintainers = with maintainers; [ ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue