mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-19 03:28:45 +03:00
Merge pull request #53945 from dotlambda/recommonmark-0.5.0
python.pkgs.recommonmark: 0.4.0 -> 0.5.0
This commit is contained in:
commit
bf4c5c56d8
@ -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 ];
|
||||
};
|
||||
}
|
||||
}
|
||||
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user