python.pkgs.recommonmark: 0.4.0 -> 0.5.0
This commit is contained in:
parent
aca17ae849
commit
421b3e4bf6
@ -1,26 +1,30 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchFromGitHub
|
||||||
, pytest
|
, pytest
|
||||||
, sphinx
|
, CommonMark
|
||||||
, CommonMark_54
|
|
||||||
, docutils
|
, docutils
|
||||||
|
, sphinx
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "recommonmark";
|
pname = "recommonmark";
|
||||||
version = "0.4.0";
|
version = "0.5.0";
|
||||||
|
|
||||||
src = fetchPypi {
|
# PyPI tarball is missing some test files: https://github.com/rtfd/recommonmark/pull/128
|
||||||
inherit pname version;
|
src = fetchFromGitHub {
|
||||||
sha256 = "6e29c723abcf5533842376d87c4589e62923ecb6002a8e059eb608345ddaff9d";
|
owner = "rtfd";
|
||||||
|
repo = pname;
|
||||||
|
rev = version;
|
||||||
|
sha256 = "04bjqx2hczmg7rnj2rpsjk7h24diwk83s6fhgrxk00k40w2bpz5j";
|
||||||
};
|
};
|
||||||
|
|
||||||
checkInputs = [ pytest sphinx ];
|
checkInputs = [ pytest ];
|
||||||
propagatedBuildInputs = [ CommonMark_54 docutils ];
|
propagatedBuildInputs = [ CommonMark docutils sphinx ];
|
||||||
|
|
||||||
# No tests in archive
|
checkPhase = ''
|
||||||
doCheck = false;
|
py.test
|
||||||
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "A docutils-compatibility bridge to CommonMark";
|
description = "A docutils-compatibility bridge to CommonMark";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user