Merge pull request #53945 from dotlambda/recommonmark-0.5.0

python.pkgs.recommonmark: 0.4.0 -> 0.5.0
This commit is contained in:
Robert Schütz 2019-01-18 23:12:53 +01:00 committed by GitHub
commit bf4c5c56d8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 16 additions and 20 deletions

View file

@ -1,26 +1,30 @@
{ lib
, buildPythonPackage
, fetchPypi
, fetchFromGitHub
, pytest
, sphinx
, CommonMark_54
, CommonMark
, docutils
, sphinx
}:
buildPythonPackage rec {
pname = "recommonmark";
version = "0.4.0";
version = "0.5.0";
src = fetchPypi {
inherit pname version;
sha256 = "6e29c723abcf5533842376d87c4589e62923ecb6002a8e059eb608345ddaff9d";
# PyPI tarball is missing some test files: https://github.com/rtfd/recommonmark/pull/128
src = fetchFromGitHub {
owner = "rtfd";
repo = pname;
rev = version;
sha256 = "04bjqx2hczmg7rnj2rpsjk7h24diwk83s6fhgrxk00k40w2bpz5j";
};
checkInputs = [ pytest sphinx ];
propagatedBuildInputs = [ CommonMark_54 docutils ];
checkInputs = [ pytest ];
propagatedBuildInputs = [ CommonMark docutils sphinx ];
# No tests in archive
doCheck = false;
checkPhase = ''
py.test
'';
meta = {
description = "A docutils-compatibility bridge to CommonMark";
@ -28,4 +32,4 @@ buildPythonPackage rec {
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fridh ];
};
}
}

View file

@ -1274,14 +1274,6 @@ in {
CommonMark = callPackage ../development/python-modules/commonmark { };
CommonMark_54 = self.CommonMark.overridePythonAttrs (oldAttrs: rec {
version = "0.5.4";
src = oldAttrs.src.override {
inherit version;
sha256 = "34d73ec8085923c023930dfc0bcd1c4286e28a2a82de094bb72fabcc0281cbe5";
};
});
coilmq = callPackage ../development/python-modules/coilmq { };
colander = callPackage ../development/python-modules/colander { };