irrd: 4.5.0b2 -> 4.5.0 (#488417)

This commit is contained in:
Yureka
2026-02-10 07:13:14 +00:00
committed by GitHub
+19 -12
View File
@@ -3,7 +3,6 @@
python3,
fetchPypi,
fetchFromGitHub,
fetchpatch,
git,
postgresql,
postgresqlTestHook,
@@ -35,27 +34,35 @@ let
};
doCheck = false;
});
# https://github.com/irrdnet/irrd/blob/0fd95020279060f2bc2816c0533c825e40f4c73c/pyproject.toml#L58C1-L59C1
limits = prev.limits.overridePythonAttrs (oldAttrs: rec {
version = "5.6.0";
src = fetchFromGitHub {
owner = "alisaifee";
repo = "limits";
tag = version;
hash = "sha256-kghfF2ihEvyMPEGO1m9BquCdeBsYRoPyIljdLL1hToQ=";
};
doCheck = false;
});
};
};
in
py.pkgs.buildPythonPackage rec {
py.pkgs.buildPythonPackage (finalAttrs: {
pname = "irrd";
version = "4.5.0b2";
version = "4.5.0";
pyproject = true;
src = fetchFromGitHub {
owner = "irrdnet";
repo = "irrd";
rev = "v${version}";
hash = "sha256-MMacxjF0LLSdInSwXwpHJUTdUQJ6sl4yu83vWR/A4Jc=";
tag = "v${finalAttrs.version}";
hash = "sha256-6z94Ha2QQ0LE4o3hzsNl4y/nPv849cSP8on3UeegE4c=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace-fail py-radix py-radix-sr
'';
pythonRelaxDeps = true;
build-system = with python3.pkgs; [ poetry-core ];
@@ -153,10 +160,10 @@ py.pkgs.buildPythonPackage rec {
];
meta = {
changelog = "https://irrd.readthedocs.io/en/v${version}/releases/";
changelog = "https://irrd.readthedocs.io/en/${finalAttrs.src.tag}/releases/";
description = "Internet Routing Registry database server, processing IRR objects in the RPSL format";
license = lib.licenses.mit;
homepage = "https://github.com/irrdnet/irrd";
maintainers = with lib.maintainers; [ yureka-wdz ];
};
}
})