Merge pull request #284893 from dotlambda/pyfireservicerota-0.0.44

python311Packages.pyfireservicerota: 0.0.43 -> 0.0.44
This commit is contained in:
Robert Schütz 2024-02-02 21:25:05 +00:00 committed by GitHub
commit 5270867849
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,6 +1,9 @@
{ lib
, buildPythonPackage
, pythonOlder
, fetchPypi
, fetchpatch2
, pdm-backend
, pytz
, oauthlib
, requests
@ -9,14 +12,27 @@
buildPythonPackage rec {
pname = "pyfireservicerota";
version = "0.0.43";
format = "setuptools";
version = "0.0.44";
pyproject = true;
disabled = pythonOlder "3.10";
src = fetchPypi {
inherit pname version;
hash = "sha256-3+QK1BVuWYii0oYT4xXMOYJZmVKrB4EmqE0EkdFlZvE=";
hash = "sha256-OknGX4xP+AHXRuhizbeTVAfiOX0uRGzAly7FJ1vopDI=";
};
postPatch = ''
# https://github.com/cyberjunky/python-fireservicerota/pull/1
substituteInPlace pyproject.toml \
--replace-fail '"aiohttp",' '"requests",' \
--replace-fail '"aiohttp_retry",' ""
'';
nativeBuildInputs = [
pdm-backend
];
propagatedBuildInputs = [
pytz
oauthlib