2017-09-07 08:01:06 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pytest
|
2018-04-07 13:27:59 +00:00
|
|
|
, mock
|
|
|
|
, cmarkgfm
|
2017-09-07 08:01:06 +00:00
|
|
|
, bleach
|
|
|
|
, docutils
|
2018-04-07 13:27:59 +00:00
|
|
|
, future
|
2017-09-07 08:01:06 +00:00
|
|
|
, pygments
|
|
|
|
, six
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "readme_renderer";
|
2018-06-12 16:47:06 +00:00
|
|
|
version = "21.0";
|
2017-09-07 08:01:06 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-06-12 16:47:06 +00:00
|
|
|
sha256 = "422404013378f0267ee128956021a47457db8eb487908b70b8a7de5fa935781a";
|
2017-09-07 08:01:06 +00:00
|
|
|
};
|
|
|
|
|
2018-04-07 13:27:59 +00:00
|
|
|
checkInputs = [ pytest mock ];
|
2017-09-07 08:01:06 +00:00
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
2018-04-07 13:27:59 +00:00
|
|
|
bleach cmarkgfm docutils future pygments six
|
2017-09-07 08:01:06 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
py.test
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "readme_renderer is a library for rendering readme descriptions for Warehouse";
|
|
|
|
homepage = https://github.com/pypa/readme_renderer;
|
|
|
|
license = lib.licenses.asl20;
|
|
|
|
};
|
2018-03-17 14:42:52 +00:00
|
|
|
}
|