python310Packages.panflute: add pythonImportsCheck

This commit is contained in:
Fabian Affolter
2022-07-10 10:54:43 +02:00
committed by GitHub
parent 69cb613852
commit 259acf447a
@@ -3,18 +3,19 @@
, click
, pyyaml
, buildPythonPackage
, isPy3k
, pythonOlder
}:
buildPythonPackage rec{
version = "2.1.5";
pname = "panflute";
version = "2.1.5";
format = "setuptools";
disabled = !isPy3k;
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-7xHcWVoZh51PlonvmoOCBKJGNMpjT7z8jkoO1B65EqE=";
hash = "sha256-7xHcWVoZh51PlonvmoOCBKJGNMpjT7z8jkoO1B65EqE=";
};
propagatedBuildInputs = [
@@ -22,8 +23,12 @@ buildPythonPackage rec{
pyyaml
];
pythonImportsCheck = [
"panflute"
];
meta = with lib; {
description = "A Pythonic alternative to John MacFarlane's pandocfilters, with extra helper functions";
description = "Pythonic alternative to John MacFarlane's pandocfilters, with extra helper functions";
homepage = "http://scorreia.com/software/panflute";
license = licenses.bsd3;
maintainers = with maintainers; [ synthetica ];