diff options
Diffstat (limited to 'pkgs/development/python-modules/readme/default.nix')
-rw-r--r-- | pkgs/development/python-modules/readme/default.nix | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/readme/default.nix b/pkgs/development/python-modules/readme/default.nix new file mode 100644 index 000000000000..4bc7e1cc233a --- /dev/null +++ b/pkgs/development/python-modules/readme/default.nix @@ -0,0 +1,37 @@ +{ stdenv +, buildPythonPackage +, fetchPypi +, pytest +, six +, docutils +, pygments +, bleach +, html5lib +}: + +buildPythonPackage rec { + pname = "readme"; + version = "0.6.0"; + + src = fetchPypi { + inherit pname version; + sha256 = "08j2w67nilczn1i5r7h22vag9673i6vnfhyq2rv27r1bdmi5a30m"; + }; + + buildInputs = [ pytest ]; + propagatedBuildInputs = [ six docutils pygments bleach html5lib ]; + + checkPhase = '' + py.test + ''; + + # Tests fail, possibly broken. + 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; + }; + +} |