peering-manager: 1.9.7 -> 1.10.1, use django 5.2

Changelog: https://github.com/peering-manager/peering-manager/releases/tag/v1.10.1
Diff: https://github.com/peering-manager/peering-manager/compare/v1.9.7...v1.10.1

peering-manager 1.9.x should use django 5.1, peering-manager 1.10.x should use django 5.2
This commit is contained in:
Yureka
2025-12-03 10:29:34 +01:00
parent f7539fd284
commit 47e7f1efe8
+15 -7
View File
@@ -7,21 +7,28 @@
plugins ? ps: [ ],
}:
python3.pkgs.buildPythonApplication rec {
let
python = python3.override {
packageOverrides = final: prev: {
django = prev.django_5_2;
};
};
in
python.pkgs.buildPythonApplication rec {
pname = "peering-manager";
version = "1.9.7";
version = "1.10.1";
src = fetchFromGitHub {
owner = "peering-manager";
repo = "peering-manager";
tag = "v${version}";
sha256 = "sha256-lxelWtiMO6w8Tt7zK/NDdmc3PaKlGibKjSfhD+tGrCU=";
sha256 = "sha256-ByECaQ6NW1Su+k/j/bcKJqFf7bStdWZxOZn95GJEqBg=";
};
format = "other";
propagatedBuildInputs =
with python3.pkgs;
with python.pkgs;
[
django
django-debug-toolbar
@@ -46,9 +53,10 @@ python3.pkgs.buildPythonApplication rec {
pyyaml
requests
social-auth-app-django
pytz
tzdata
]
++ plugins python3.pkgs;
++ plugins python.pkgs;
buildPhase = ''
runHook preBuild
@@ -70,8 +78,8 @@ python3.pkgs.buildPythonApplication rec {
passthru = {
# PYTHONPATH of all dependencies used by the package
python = python3;
pythonPath = python3.pkgs.makePythonPath propagatedBuildInputs;
inherit python;
pythonPath = python.pkgs.makePythonPath propagatedBuildInputs;
tests = {
inherit (nixosTests) peering-manager;