2017-09-07 09:01:06 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pytest
|
2018-03-17 14:42:52 +00:00
|
|
|
, CommonMark
|
2017-09-07 09:01:06 +01:00
|
|
|
, bleach
|
|
|
|
, docutils
|
|
|
|
, pygments
|
|
|
|
, six
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "readme_renderer";
|
2018-03-17 14:42:52 +00:00
|
|
|
version = "17.4";
|
2017-09-07 09:01:06 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-03-17 14:42:52 +00:00
|
|
|
sha256 = "82d68175feec897af2a38fe8590778f14c3be5324cc62e3ce5752a9b1e4b60ab";
|
2017-09-07 09:01:06 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
checkInputs = [ pytest ];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
2018-03-17 14:42:52 +00:00
|
|
|
CommonMark bleach docutils pygments six
|
2017-09-07 09:01:06 +01: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
|
|
|
}
|