diff options
Diffstat (limited to 'pkgs/by-name/ir/irrd/package.nix')
-rw-r--r-- | pkgs/by-name/ir/irrd/package.nix | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/pkgs/by-name/ir/irrd/package.nix b/pkgs/by-name/ir/irrd/package.nix index ba62bf6e6cc27..d1c7a1903ec0a 100644 --- a/pkgs/by-name/ir/irrd/package.nix +++ b/pkgs/by-name/ir/irrd/package.nix @@ -11,15 +11,19 @@ let py = python3.override { + self = py; packageOverrides = final: prev: { # sqlalchemy 1.4.x or 2.x are not supported - sqlalchemy = prev.sqlalchemy.overridePythonAttrs (oldAttrs: rec { + sqlalchemy = prev.sqlalchemy_1_4.overridePythonAttrs (oldAttrs: rec { version = "1.3.24"; src = fetchPypi { pname = "SQLAlchemy"; inherit version; hash = "sha256-67t3fL+TEjWbiXv4G6ANrg9ctp+6KhgmXcwYpvXvdRk="; }; + postPatch = '' + sed -i '/tag_build = dev/d' setup.cfg + ''; doCheck = false; }); alembic = prev.alembic.overridePythonAttrs (lib.const { @@ -76,7 +80,6 @@ py.pkgs.buildPythonPackage rec { nativeBuildInputs = with python3.pkgs; [ poetry-core - pythonRelaxDepsHook ]; nativeCheckInputs = [ @@ -175,4 +178,3 @@ py.pkgs.buildPythonPackage rec { maintainers = teams.wdz.members; }; } - |