python310Packages.panflute: add pythonImportsCheck
This commit is contained in:
@@ -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 ];
|
||||
|
||||
Reference in New Issue
Block a user