@@ -0,0 +1,36 @@
1+{ lib
2+, buildPythonPackage
3+, fetchPypi
4+, pytest
5+, bleach
6+, docutils
7+, pygments
8+, six
9+}:
10+
11+buildPythonPackage rec {
12+ pname = "readme_renderer";
13+ version = "17.2";
14+ name = "${pname}-${version}";
15+
16+ src = fetchPypi {
17+ inherit pname version;
18+ sha256 = "9deab442963a63a71ab494bf581b1c844473995a2357f4b3228a1df1c8cba8da";
19+ };
20+
21+ checkInputs = [ pytest ];
22+
23+ propagatedBuildInputs = [
24+ bleach docutils pygments six
25+ ];
26+
27+ checkPhase = ''
28+ py.test
29+ '';
30+
31+ meta = {
32+ description = "readme_renderer is a library for rendering readme descriptions for Warehouse";
33+ homepage = https://github.com/pypa/readme_renderer;
34+ license = lib.licenses.asl20;
35+ };
36+}