From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:54067) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1grxUK-0003hU-HK for guix-patches@gnu.org; Thu, 07 Feb 2019 23:10:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1grxUJ-00069d-Is for guix-patches@gnu.org; Thu, 07 Feb 2019 23:10:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:39487) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1grxUJ-000699-Er for guix-patches@gnu.org; Thu, 07 Feb 2019 23:10:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1grxUJ-0006fJ-84 for guix-patches@gnu.org; Thu, 07 Feb 2019 23:10:03 -0500 Subject: [bug#34380] [PATCH 2/5] gnu: Add python-language-server. Resent-Message-ID: Received: from eggs.gnu.org ([209.51.188.92]:53997) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1grxTu-0003eq-E0 for guix-patches@gnu.org; Thu, 07 Feb 2019 23:09:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1grxTt-0005TB-KQ for guix-patches@gnu.org; Thu, 07 Feb 2019 23:09:38 -0500 Received: from mout02.posteo.de ([185.67.36.66]:59985) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1grxTt-0005QX-9z for guix-patches@gnu.org; Thu, 07 Feb 2019 23:09:37 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id B80622400E5 for ; Fri, 8 Feb 2019 05:09:35 +0100 (CET) Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 43whXH01DYz9rxL for ; Fri, 8 Feb 2019 05:09:34 +0100 (CET) From: Brett Gilio Date: Thu, 07 Feb 2019 22:09:33 -0600 Message-ID: <87bm3msyyq.fsf@posteo.net> MIME-Version: 1.0 Content-Type: text/x-patch Content-Disposition: inline; filename=0002-gnu-Add-python-language-server.patch Content-Description: [PATCH 2/5] gnu: Add python-language-server. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 34380@debbugs.gnu.org >From 915bd232185ebcab96d96dc400ee3f010e691048 Mon Sep 17 00:00:00 2001 From: Brett Gilio Date: Thu, 7 Feb 2019 22:03:42 -0600 Subject: [PATCH 2/5] gnu: Add python-language-server. * gnu/packages/python-xyz.scm (python-language-server): New variable. --- gnu/packages/python-xyz.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 64bb85cc0..9efbbeba8 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -2492,6 +2492,37 @@ which can produce feeds in RSS 2.0, RSS 0.91, and Atom formats.") Language (TOML) configuration files.") (license license:expat))) +(define-public python-language-server + (package + (name "python-language-server") + (version "0.22.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "python-language-server" version)) + (sha256 + (base32 + "04pbxl06hg0ddm2xx99jn9jh40yv0mmzdjw8pqd2rbcdg42hhia6")))) + (build-system python-build-system) + (propagated-inputs + `(("python-pluggy" ,python-pluggy) + ("python-jsonrps-server" ,python-jsonrpc-server) + ("python-jedi" ,python-jedi) + ("python-yapf" ,python-yapf) + ("python-pyflakes" ,python-pyflakes) + ("python-pydocstyle" ,python-pydocstyle) + ("python-pycodestyle" ,python-pycodestyle) + ("python-mccabe" ,python-mccabe) + ("python-rope" ,python-rope) + ("python-autopep8" ,python-autopep8))) + (home-page + "https://github.com/palantir/python-language-server") + (synopsis + "Python Language Server for the Language Server Protocol") + (description + "The Python Language Server (pyls) is an implementation of the Python 3 language specification for the LSP. This tool is used in many text-editing environments to provide a complete and integrated feature-set for programming Python effectively.") + (license license:expat))) + (define-public python-black (package (name "python-black") -- 2.20.1