Merge pull request #284893 from dotlambda/pyfireservicerota-0.0.44
python311Packages.pyfireservicerota: 0.0.43 -> 0.0.44
This commit is contained in:
commit
5270867849
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user