about summary refs log tree commit diff
path: root/pkgs/development/python-modules/readme
diff options
context:
space:
mode:
authorChris Ostrouchov <chris.ostrouchov@gmail.com>2019-07-16 17:29:24 -0400
committerFrederik Rietdijk <fridh@fridh.nl>2019-07-20 09:24:37 +0200
commit1ad86f9569663e111b819d8eaba0f633d8a561b5 (patch)
tree408d39aec3a53965dac9872ca5099eca5559b150 /pkgs/development/python-modules/readme
parent49c265b8fefdefa30c4949cad18d89be39319910 (diff)
pythonPackages.readme: refactor fix broken build
Diffstat (limited to 'pkgs/development/python-modules/readme')
-rw-r--r--pkgs/development/python-modules/readme/default.nix21
1 files changed, 12 insertions, 9 deletions
diff --git a/pkgs/development/python-modules/readme/default.nix b/pkgs/development/python-modules/readme/default.nix
index 90522c34196ac..057283babe7b5 100644
--- a/pkgs/development/python-modules/readme/default.nix
+++ b/pkgs/development/python-modules/readme/default.nix
@@ -2,11 +2,7 @@
 , buildPythonPackage
 , fetchPypi
 , pytest
-, six
-, docutils
-, pygments
-, bleach
-, html5lib
+, readme_renderer
 }:
 
 buildPythonPackage rec {
@@ -18,20 +14,27 @@ buildPythonPackage rec {
     sha256 = "32fbe1538a437da160fa4e4477270bfdcd8876e2e364d0d12898302644496231";
   };
 
-  buildInputs = [ pytest ];
-  propagatedBuildInputs = [ six docutils pygments bleach html5lib ];
+  checkInputs = [
+    pytest
+  ];
+
+  propagatedBuildInputs = [
+    readme_renderer
+  ];
 
   checkPhase = ''
-    py.test
+    pytest
   '';
 
-  # Tests fail, possibly broken.
+  # tests are not included with pypi release
+  # package is not readme_renderer
   doCheck = false;
 
   meta = with stdenv.lib; {
     description = "Readme is a library for rendering readme descriptions for Warehouse";
     homepage = "https://github.com/pypa/readme";
     license = licenses.asl20;
+    maintainers = [ maintainers.costrouc ];
   };
 
 }