diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2024-04-04 11:10:34 +0200 |
---|---|---|
committer | Fabian Affolter <mail@fabian-affolter.ch> | 2024-04-04 11:12:57 +0200 |
commit | a5028a61cfe408885780214c446274304eae430c (patch) | |
tree | 8de6a8bac5a9406d7f3bc2d52634484aad176674 | |
parent | d57a74f109a84bcfc93c6c621dd0984fd2a0b5ea (diff) |
python311Packages.python-lsp-server: refactor
-rw-r--r-- | pkgs/development/python-modules/python-lsp-server/default.nix | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/pkgs/development/python-modules/python-lsp-server/default.nix b/pkgs/development/python-modules/python-lsp-server/default.nix index b17b0519da448..6a39452dacca6 100644 --- a/pkgs/development/python-modules/python-lsp-server/default.nix +++ b/pkgs/development/python-modules/python-lsp-server/default.nix @@ -29,7 +29,6 @@ , ujson , websockets , whatthepatch -, wheel , yapf }: @@ -42,15 +41,15 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "python-lsp"; - repo = pname; + repo = "python-lsp-server"; rev = "refs/tags/v${version}"; hash = "sha256-0DFcnGlyDOK0Lxpr++xV6klhFF9b1fihH5FY/tblr+E="; }; postPatch = '' substituteInPlace pyproject.toml \ - --replace "--cov-report html --cov-report term --junitxml=pytest.xml" "" \ - --replace "--cov pylsp --cov test" "" + --replace-fail "--cov-report html --cov-report term --junitxml=pytest.xml" "" \ + --replace-fail "--cov pylsp --cov test" "" ''; pythonRelaxDeps = [ @@ -63,12 +62,14 @@ buildPythonPackage rec { ]; nativeBuildInputs = [ - pythonRelaxDepsHook setuptools-scm - wheel ]; - propagatedBuildInputs = [ + build-system = [ + setuptools-scm + ]; + + dependencies = [ docstring-to-markdown jedi pluggy |