python3Packages.pyrad: set updateScript

Stops the robot from making downgrade PRs.

Changed files
+5
pkgs
development
python-modules
pyrad
+5
pkgs/development/python-modules/pyrad/default.nix
···
buildPythonPackage,
fetchFromGitHub,
lib,
unittestCheckHook,
poetry-core,
}:
···
nativeCheckInputs = [ unittestCheckHook ];
pythonImportsCheck = [ "pyrad" ];
meta = {
description = "Python RADIUS Implementation";
···
buildPythonPackage,
fetchFromGitHub,
lib,
+
nix-update-script,
unittestCheckHook,
poetry-core,
}:
···
nativeCheckInputs = [ unittestCheckHook ];
pythonImportsCheck = [ "pyrad" ];
+
+
passthru.updateScript = nix-update-script {
+
extraArgs = [ "--version=branch" ];
+
};
meta = {
description = "Python RADIUS Implementation";