Merge pull request #289704 from fabaff/pyrainbird-bump

python311Packages.pyrainbird: 4.0.1 -> 4.0.2
This commit is contained in:
Fabian Affolter 2024-02-24 10:50:06 +01:00 committed by GitHub
commit e7b359865f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -18,30 +18,32 @@
, requests
, requests-mock
, responses
, setuptools
}:
buildPythonPackage rec {
pname = "pyrainbird";
version = "4.0.1";
format = "setuptools";
version = "4.0.2";
pyproject = true;
disabled = pythonOlder "3.10";
src = fetchFromGitHub {
owner = "allenporter";
repo = pname;
repo = "pyrainbird";
rev = "refs/tags/${version}";
hash = "sha256-OcCg6Q+FJnmrYf70uNLWTg/tfWVJpiQlnyKfREcP2YM=";
hash = "sha256-4AoxLZv0u8wCG3ihw0JqsqsO5zG5UyP4ebSX99ve8sg=";
};
postPatch = ''
substituteInPlace pytest.ini \
--replace "--cov=pyrainbird --cov-report=term-missing" ""
substituteInPlace setup.cfg \
--replace "pycryptodome>=3.16.0" "pycryptodome"
--replace-fail "--cov=pyrainbird --cov-report=term-missing" ""
'';
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
aiohttp-retry
ical