python3.pkgs.markdown: fixup build

This commit is contained in:
Frederik Rietdijk 2020-06-07 10:15:35 +02:00
parent b928bbeeee
commit 5146c7b0cf

View File

@ -4,6 +4,9 @@
, setuptools , setuptools
, nose , nose
, pyyaml , pyyaml
, pythonOlder
, importlib-metadata
, isPy3k
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -15,7 +18,13 @@ buildPythonPackage rec {
sha256 = "1fafe3f1ecabfb514a5285fca634a53c1b32a81cb0feb154264d55bf2ff22c17"; sha256 = "1fafe3f1ecabfb514a5285fca634a53c1b32a81cb0feb154264d55bf2ff22c17";
}; };
propagatedBuildInputs = [ setuptools ]; propagatedBuildInputs = [
setuptools
] ++ lib.optionals (pythonOlder "3.8") [
importlib-metadata
];
disabled = !isPy3k;
checkInputs = [ nose pyyaml ]; checkInputs = [ nose pyyaml ];