python3Packages.pygls: use nix-update-script to ignore pre-releases
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
pythonOlder,
|
||||
typeguard,
|
||||
websockets,
|
||||
nix-update-script,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@@ -59,6 +60,14 @@ buildPythonPackage rec {
|
||||
|
||||
pythonImportsCheck = [ "pygls" ];
|
||||
|
||||
passthru.updateScript = nix-update-script {
|
||||
extraArgs = [
|
||||
# Skips pre-releases
|
||||
"--version-regex"
|
||||
"^v([0-9.]+)$"
|
||||
];
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "Pythonic generic implementation of the Language Server Protocol";
|
||||
homepage = "https://github.com/openlawlibrary/pygls";
|
||||
|
||||
Reference in New Issue
Block a user