about summary refs log tree commit diff
path: root/pkgs/development/python-modules/restview
diff options
context:
space:
mode:
authorFabian Affolter <mail@fabian-affolter.ch>2022-01-02 01:09:29 +0100
committerJonathan Ringer <jonringer@users.noreply.github.com>2022-01-01 17:19:43 -0800
commit6236a2d111607fa02479fccdb9455af07365396e (patch)
tree040ed088b2dbf9014d5118fd4083f476649af0a7 /pkgs/development/python-modules/restview
parentb38cf64f82d0ebdab15210164a46f99870fb9dd1 (diff)
python3Packages.restview: 2.9.2 -> 2.9.3
Diffstat (limited to 'pkgs/development/python-modules/restview')
-rw-r--r--pkgs/development/python-modules/restview/default.nix26
1 files changed, 16 insertions, 10 deletions
diff --git a/pkgs/development/python-modules/restview/default.nix b/pkgs/development/python-modules/restview/default.nix
index b2fc2d9beae75..b25b28eca943c 100644
--- a/pkgs/development/python-modules/restview/default.nix
+++ b/pkgs/development/python-modules/restview/default.nix
@@ -1,7 +1,6 @@
 { lib
 , buildPythonPackage
 , fetchPypi
-, fetchpatch
 , docutils
 , readme_renderer
 , packaging
@@ -12,22 +11,29 @@
 
 buildPythonPackage rec {
   pname = "restview";
-  version = "2.9.2";
+  version = "2.9.3";
+  format = "setuptools";
 
   src = fetchPypi {
     inherit pname version;
-    sha256 = "1p1jgdvc04ws8kga3r0vrq3m0b52qw3clwyydl96a13wb3mrf03r";
+    sha256 = "sha256-WVGqIYLnqao6uQbb0PDTPfj+k+ZjGKholknBIorXTNg=";
   };
 
-  patches = [
-    (fetchpatch {
-      url = "https://github.com/mgedmin/restview/commit/a1ded30a87c65f3ce59a18497a7fc5099317c2be.patch";
-      sha256 = "1ax7pih456a3nbj8qrrq7hqigbyag4ihzpn6bm0z4y74d0r3v8a5";
-    })
+  propagatedBuildInputs = [
+    docutils
+    readme_renderer
+    packaging
+    pygments
   ];
 
-  propagatedBuildInputs = [ docutils readme_renderer packaging pygments ];
-  checkInputs = [ mock pytestCheckHook ];
+  checkInputs = [
+    mock
+    pytestCheckHook
+  ];
+
+  pythonImportsCheck = [
+    "restview"
+  ];
 
   meta = {
     description = "ReStructuredText viewer";