forked from mirrors/nixpkgs
37 lines
661 B
Nix
37 lines
661 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pytest
|
|
, CommonMark
|
|
, bleach
|
|
, docutils
|
|
, pygments
|
|
, six
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "readme_renderer";
|
|
version = "18.1";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "e18cab7f1b07412990df1b59e1be04e1538f514a5bba53ec8777bfc5aac27563";
|
|
};
|
|
|
|
checkInputs = [ pytest ];
|
|
|
|
propagatedBuildInputs = [
|
|
CommonMark 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;
|
|
};
|
|
}
|