python.pkgs.readme_renderer: init at 17.2

This commit is contained in:
Frederik Rietdijk 2017-09-07 10:01:06 +02:00
parent b690856b62
commit 69435dfba5
2 changed files with 38 additions and 0 deletions

View file

@ -0,0 +1,36 @@
{ lib
, buildPythonPackage
, fetchPypi
, pytest
, bleach
, docutils
, pygments
, six
}:
buildPythonPackage rec {
pname = "readme_renderer";
version = "17.2";
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
sha256 = "9deab442963a63a71ab494bf581b1c844473995a2357f4b3228a1df1c8cba8da";
};
checkInputs = [ pytest ];
propagatedBuildInputs = [
bleach docutils pygments six
];
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;
};
}

View file

@ -19189,6 +19189,8 @@ in {
};
};
readme_renderer = callPackage ../development/python-modules/readme_renderer { };
rjsmin = callPackage ../development/python-modules/rjsmin { };
pysolr = buildPythonPackage rec {