python3Packages.pyrad: set updateScript

Stops the robot from making downgrade PRs.
This commit is contained in:
Michael Daniels
2025-09-20 20:54:16 -04:00
parent 52c032768a
commit 4ba4fae2b1
@@ -2,6 +2,7 @@
buildPythonPackage,
fetchFromGitHub,
lib,
nix-update-script,
unittestCheckHook,
poetry-core,
}:
@@ -29,6 +30,10 @@ buildPythonPackage {
pythonImportsCheck = [ "pyrad" ];
passthru.updateScript = nix-update-script {
extraArgs = [ "--version=branch" ];
};
meta = {
description = "Python RADIUS Implementation";
homepage = "https://github.com/pyradius/pyrad";