pythonPackages.readme: refactor fix broken build
This commit is contained in:
parent
49c265b8fe
commit
1ad86f9569
@ -2,11 +2,7 @@
|
|||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, pytest
|
, pytest
|
||||||
, six
|
, readme_renderer
|
||||||
, docutils
|
|
||||||
, pygments
|
|
||||||
, bleach
|
|
||||||
, html5lib
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
@ -18,20 +14,27 @@ buildPythonPackage rec {
|
|||||||
sha256 = "32fbe1538a437da160fa4e4477270bfdcd8876e2e364d0d12898302644496231";
|
sha256 = "32fbe1538a437da160fa4e4477270bfdcd8876e2e364d0d12898302644496231";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ pytest ];
|
checkInputs = [
|
||||||
propagatedBuildInputs = [ six docutils pygments bleach html5lib ];
|
pytest
|
||||||
|
];
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
readme_renderer
|
||||||
|
];
|
||||||
|
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
py.test
|
pytest
|
||||||
'';
|
'';
|
||||||
|
|
||||||
# Tests fail, possibly broken.
|
# tests are not included with pypi release
|
||||||
|
# package is not readme_renderer
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Readme is a library for rendering readme descriptions for Warehouse";
|
description = "Readme is a library for rendering readme descriptions for Warehouse";
|
||||||
homepage = "https://github.com/pypa/readme";
|
homepage = "https://github.com/pypa/readme";
|
||||||
license = licenses.asl20;
|
license = licenses.asl20;
|
||||||
|
maintainers = [ maintainers.costrouc ];
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user