ruff-lsp: format

This commit is contained in:
Gaetan Lepage 2024-08-17 01:33:27 +02:00
parent 821467f51f
commit bf1125c912

View File

@ -1,8 +1,9 @@
{ lib {
, stdenv lib,
, python3 stdenv,
, fetchFromGitHub python3,
, ruff fetchFromGitHub,
ruff,
}: }:
python3.pkgs.buildPythonApplication rec { python3.pkgs.buildPythonApplication rec {
@ -23,9 +24,7 @@ python3.pkgs.buildPythonApplication rec {
sed -i '/"ruff>=/d' pyproject.toml sed -i '/"ruff>=/d' pyproject.toml
''; '';
build-system = with python3.pkgs; [ build-system = with python3.pkgs; [ hatchling ];
hatchling
];
dependencies = with python3.pkgs; [ dependencies = with python3.pkgs; [
packaging packaging
@ -60,6 +59,9 @@ python3.pkgs.buildPythonApplication rec {
homepage = "https://github.com/astral-sh/ruff-lsp"; homepage = "https://github.com/astral-sh/ruff-lsp";
license = lib.licenses.mit; license = lib.licenses.mit;
mainProgram = "ruff-lsp"; mainProgram = "ruff-lsp";
maintainers = with lib.maintainers; [ figsoda kalekseev ]; maintainers = with lib.maintainers; [
figsoda
kalekseev
];
}; };
} }