fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
37 lines
741 B
Nix
37 lines
741 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
pytest,
|
|
readme-renderer,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "readme";
|
|
version = "0.7.1";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "32fbe1538a437da160fa4e4477270bfdcd8876e2e364d0d12898302644496231";
|
|
};
|
|
|
|
nativeCheckInputs = [ pytest ];
|
|
|
|
propagatedBuildInputs = [ readme-renderer ];
|
|
|
|
checkPhase = ''
|
|
pytest
|
|
'';
|
|
|
|
# tests are not included with pypi release
|
|
# package is not readme-renderer
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
description = "Readme is a library for rendering readme descriptions for Warehouse";
|
|
homepage = "https://github.com/pypa/readme";
|
|
license = licenses.asl20;
|
|
maintainers = [ ];
|
|
};
|
|
}
|