2017-09-07 09:01:06 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pytest
|
2018-04-07 14:27:59 +01:00
|
|
|
, mock
|
|
|
|
, cmarkgfm
|
2017-09-07 09:01:06 +01:00
|
|
|
, bleach
|
|
|
|
, docutils
|
2018-04-07 14:27:59 +01:00
|
|
|
, future
|
2017-09-07 09:01:06 +01:00
|
|
|
, pygments
|
|
|
|
, six
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "readme_renderer";
|
2018-04-04 19:16:26 +01:00
|
|
|
version = "18.1";
|
2017-09-07 09:01:06 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-04-04 19:16:26 +01:00
|
|
|
sha256 = "e18cab7f1b07412990df1b59e1be04e1538f514a5bba53ec8777bfc5aac27563";
|
2017-09-07 09:01:06 +01:00
|
|
|
};
|
|
|
|
|
2018-04-07 14:27:59 +01:00
|
|
|
checkInputs = [ pytest mock ];
|
2017-09-07 09:01:06 +01:00
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
2018-04-07 14:27:59 +01:00
|
|
|
bleach cmarkgfm docutils future 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
|
|
|
}
|