1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-19 20:21:14 +00:00

python3Packages.pyflume: fix build

This commit is contained in:
Fabian Affolter 2021-05-06 11:05:46 +02:00
parent b4170925ef
commit 2789f04fbe

View file

@ -41,6 +41,15 @@ buildPythonPackage rec {
pytestCheckHook
];
postPatch = ''
# https://github.com/ChrisMandich/PyFlume/issues/18
substituteInPlace setup.py \
--replace "pyjwt==2.0.1" "pyjwt>=2.0.1" \
--replace "ratelimit==2.2.1" "ratelimit>=2.2.1" \
--replace "pytz==2019.2" "pytz>=2019.2" \
--replace "requests==2.24.0" "requests>=2.24.0"
'';
pythonImportsCheck = [ "pyflume" ];
meta = with lib; {