Merge pull request #228657 from fabaff/aiobiketrax-fix
python310Packages.aiobiketrax: allow later auth0-python releases
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
, pytestCheckHook
|
||||
, python-dateutil
|
||||
, pythonOlder
|
||||
, pythonRelaxDepsHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@@ -21,12 +22,23 @@ buildPythonPackage rec {
|
||||
src = fetchFromGitHub {
|
||||
owner = "basilfx";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-exxpJJA+JnVuehCnWs/ihk/SSPUqV7ODXZxvbmuHe8U=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
# https://github.com/basilfx/aiobiketrax/pull/63
|
||||
substituteInPlace aiobiketrax/api.py \
|
||||
--replace "auth0.v3" "auth0"
|
||||
'';
|
||||
|
||||
pythonRelaxDeps = [
|
||||
"auth0-python"
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
poetry-core
|
||||
pythonRelaxDepsHook
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
||||
Reference in New Issue
Block a user