recipemd: adapt to upstream changes
This commit is contained in:
parent
9ec4671420
commit
e28d0c2bc3
1 changed files with 6 additions and 12 deletions
|
@ -1,6 +1,6 @@
|
||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchFromGitHub
|
, fetchPypi
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
, pythonPackages
|
, pythonPackages
|
||||||
, isPy36
|
, isPy36
|
||||||
|
@ -9,22 +9,16 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "recipemd";
|
pname = "recipemd";
|
||||||
version = "4.0.5";
|
version = "4.0.6";
|
||||||
|
|
||||||
disabled = isPy36 || isPy27;
|
disabled = isPy36 || isPy27;
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchPypi {
|
||||||
owner = "tstehr";
|
pname = pname;
|
||||||
repo = "RecipeMD";
|
version = version;
|
||||||
rev = "v${version}";
|
sha256 = "05c185bhrc72a9c3gvjy50npwn6cqml69slis2v4waqj31snps33";
|
||||||
sha256 = "17ph5gnbrx6159cryjlpkkp15gvazvxgm6ixcmrbdmsg6rgyqcpn";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
patchPhase = ''
|
|
||||||
sed -i 's/argcomplete~=1.10.0/yarl~=1.0/' setup.py
|
|
||||||
sed -i 's/yarl~=1.3.0/yarl~=1.0/' setup.py
|
|
||||||
'';
|
|
||||||
|
|
||||||
propagatedBuildInputs = with pythonPackages; [
|
propagatedBuildInputs = with pythonPackages; [
|
||||||
CommonMark
|
CommonMark
|
||||||
argcomplete
|
argcomplete
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue