about summary refs log tree commit diff
path: root/pkgs/development
diff options
context:
space:
mode:
authorMetaDark <kira.bruneau@gmail.com>2020-09-30 22:33:56 -0400
committerJon <jonringer@users.noreply.github.com>2020-09-30 23:19:29 -0700
commit0600273981a2cd06a4aeee24789f2785f1663e30 (patch)
tree16894168053fec6fc599806840e5e8b301da30be /pkgs/development
parent5e99485b3d9bde2f833a5a0845fb666f5f02ea4c (diff)
pythonPackages.pygls: 0.9.0 -> 0.9.1
Diffstat (limited to 'pkgs/development')
-rw-r--r--pkgs/development/python-modules/pygls/default.nix25
1 files changed, 12 insertions, 13 deletions
diff --git a/pkgs/development/python-modules/pygls/default.nix b/pkgs/development/python-modules/pygls/default.nix
index d563fa27669eb..edd5d9bc3100e 100644
--- a/pkgs/development/python-modules/pygls/default.nix
+++ b/pkgs/development/python-modules/pygls/default.nix
@@ -1,30 +1,29 @@
-{ stdenv, buildPythonPackage, isPy3k, fetchFromGitHub
-, mock, pytest, pytest-asyncio
+{ lib
+, buildPythonPackage
+, isPy3k
+, fetchFromGitHub
+, mock
+, pytest-asyncio
+, pytestCheckHook
 }:
 
 buildPythonPackage rec {
   pname = "pygls";
-  version = "0.9.0";
+  version = "0.9.1";
   disabled = !isPy3k;
 
   src = fetchFromGitHub {
     owner = "openlawlibrary";
     repo = pname;
     rev = "v${version}";
-    sha256 = "1wfp4hjin1mb6nkzhpfh5v8q8rwvn9zh0mwwj4dlxkqx5lp272hl";
+    sha256 = "1v7x5598d6jg8ya0spqjma56y062rznwimsrp8nq6fkskqgfm0ds";
   };
 
-  postPatch = ''
-    substituteInPlace setup.py \
-      --replace "pytest==4.5.0" "pytest"
-  '';
+  checkInputs = [ mock pytest-asyncio pytestCheckHook ];
 
-  checkInputs = [ mock pytest pytest-asyncio ];
-  checkPhase = "pytest";
-
-  meta = with stdenv.lib; {
-    homepage = "https://github.com/openlawlibrary/pygls";
+  meta = with lib; {
     description = "Pythonic generic implementation of the Language Server Protocol";
+    homepage = "https://github.com/openlawlibrary/pygls";
     license = licenses.asl20;
     maintainers = with maintainers; [ metadark ];
   };