Update recipemd package
This commit is contained in:
parent
5297979b92
commit
7bccc0b7ef
1 changed files with 8 additions and 33 deletions
|
@ -2,14 +2,16 @@
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
, python3Packages
|
, pythonPackages
|
||||||
|
, isPy36
|
||||||
|
, isPy27
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "recipemd";
|
pname = "recipemd";
|
||||||
version = "4.0.5";
|
version = "4.0.5";
|
||||||
|
|
||||||
disabled = false; # requires python version >=3.7,<4
|
disabled = isPy36 || isPy27;
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "tstehr";
|
owner = "tstehr";
|
||||||
|
@ -18,49 +20,22 @@ buildPythonPackage rec {
|
||||||
sha256 = "17ph5gnbrx6159cryjlpkkp15gvazvxgm6ixcmrbdmsg6rgyqcpn";
|
sha256 = "17ph5gnbrx6159cryjlpkkp15gvazvxgm6ixcmrbdmsg6rgyqcpn";
|
||||||
};
|
};
|
||||||
|
|
||||||
# # Package conditions to handle
|
|
||||||
# # might have to sed setup.py and egg.info in patchPhase
|
|
||||||
# # sed -i "s/<package>.../<package>/"
|
|
||||||
# # Extra packages (may not be necessary)
|
|
||||||
# pytest-cov==2.8.1 # tests
|
|
||||||
# tox==3.20.1 # tests
|
|
||||||
# Sphinx==2.2.2 # docs
|
|
||||||
# m2r==0.2.1 # docs
|
|
||||||
# sphinxcontrib.fulltoc==1.2.0 # docs
|
|
||||||
# sphinxcontrib.autoprogram==0.1.5 # docs
|
|
||||||
# sphinx_autodoc_typehints==1.10.3 # docs
|
|
||||||
# sphinxcontrib.apidoc==0.3.0 # docs
|
|
||||||
# sphinx-autobuild==0.7.1 # docs
|
|
||||||
# twine==3.1.1 # release
|
|
||||||
# pytest==5.3.1 # dev
|
|
||||||
# pytest-cov==2.8.1 # dev
|
|
||||||
# tox==3.20.1 # dev
|
|
||||||
# Sphinx==2.2.2 # dev
|
|
||||||
# m2r==0.2.1 # dev
|
|
||||||
# sphinxcontrib.fulltoc==1.2.0 # dev
|
|
||||||
# sphinxcontrib.autoprogram==0.1.5 # dev
|
|
||||||
# sphinx_autodoc_typehints==1.10.3 # dev
|
|
||||||
# sphinxcontrib.apidoc==0.3.0 # dev
|
|
||||||
# sphinx-autobuild==0.7.1 # dev
|
|
||||||
# twine==3.1.1 # dev
|
|
||||||
|
|
||||||
patchPhase = ''
|
patchPhase = ''
|
||||||
# Override yarl version
|
|
||||||
sed -i 's/argcomplete~=1.10.0/yarl~=1.0/' setup.py
|
sed -i 's/argcomplete~=1.10.0/yarl~=1.0/' setup.py
|
||||||
sed -i 's/yarl~=1.3.0/yarl~=1.0/' setup.py
|
sed -i 's/yarl~=1.3.0/yarl~=1.0/' setup.py
|
||||||
'';
|
'';
|
||||||
|
|
||||||
propagatedBuildInputs = with python3Packages; [
|
propagatedBuildInputs = with pythonPackages; [
|
||||||
dataclasses-json
|
|
||||||
yarl
|
|
||||||
CommonMark
|
CommonMark
|
||||||
argcomplete
|
argcomplete
|
||||||
|
dataclasses-json
|
||||||
pyparsing
|
pyparsing
|
||||||
|
yarl
|
||||||
];
|
];
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
python3Packages.pytestcov
|
pythonPackages.pytestcov
|
||||||
];
|
];
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue