Merge pull request #231968 from kalekseev/fix/ruff-lsp

python3Packages.ruff-lsp: 0.0.24 -> 0.0.27
This commit is contained in:
Martin Weinelt 2023-05-15 18:48:50 +02:00 committed by GitHub
commit 836bbadab5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 11 additions and 3 deletions

View File

@ -14,14 +14,14 @@
buildPythonPackage rec {
pname = "ruff-lsp";
version = "0.0.24";
version = "0.0.27";
format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit version;
pname = "ruff_lsp";
sha256 = "sha256-1he/GYk8O9LqPXH3mu7eGWuRygiDG1OnJ+JNT2Pynzo=";
hash = "sha256-Mp5PX87UFUADl/INxZptTsHUBxNpaSRqdsPgRNnLCaQ=";
};
postPatch = ''

View File

@ -5,6 +5,8 @@
, installShellFiles
, stdenv
, darwin
# tests
, ruff-lsp
}:
rustPlatform.buildRustPackage rec {
@ -64,6 +66,10 @@ rustPlatform.buildRustPackage rec {
--zsh <($out/bin/ruff generate-shell-completion zsh)
'';
passthru.tests = {
inherit ruff-lsp;
};
meta = with lib; {
description = "An extremely fast Python linter";
homepage = "https://github.com/charliermarsh/ruff";

View File

@ -39288,7 +39288,9 @@ with pkgs;
rucksack = callPackage ../development/tools/rucksack { };
ruff = callPackage ../development/tools/ruff { };
ruff = callPackage ../development/tools/ruff {
inherit (python3.pkgs) ruff-lsp;
};
sam-ba = callPackage ../tools/misc/sam-ba { };