ruff-lsp: add nix-update-script and testVersion
This commit is contained in:
@@ -1,9 +1,12 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
python3,
|
||||
fetchFromGitHub,
|
||||
stdenv,
|
||||
ruff,
|
||||
nix-update-script,
|
||||
testers,
|
||||
ruff-lsp,
|
||||
}:
|
||||
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
@@ -53,6 +56,11 @@ python3.pkgs.buildPythonApplication rec {
|
||||
"--unset PYTHONPATH"
|
||||
];
|
||||
|
||||
passthru = {
|
||||
updateScript = nix-update-script { };
|
||||
tests.version = testers.testVersion { package = ruff-lsp; };
|
||||
};
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/astral-sh/ruff-lsp/releases/tag/v${version}";
|
||||
description = "Language Server Protocol implementation for Ruff";
|
||||
|
||||
Reference in New Issue
Block a user