1{ lib
2, fetchPypi
3, click
4, pyyaml
5, buildPythonPackage
6, pythonOlder
7}:
8
9buildPythonPackage rec{
10 pname = "panflute";
11 version = "2.2.3";
12 format = "setuptools";
13
14 disabled = pythonOlder "3.7";
15
16 src = fetchPypi {
17 inherit pname version;
18 hash = "sha256-AJMz+gt8Wa45aFZSLm15RjiiJlJnkWC4Lobk8o8Pu8Y=";
19 };
20
21 propagatedBuildInputs = [
22 click
23 pyyaml
24 ];
25
26 pythonImportsCheck = [
27 "panflute"
28 ];
29
30 meta = with lib; {
31 description = "Pythonic alternative to John MacFarlane's pandocfilters, with extra helper functions";
32 homepage = "http://scorreia.com/software/panflute";
33 license = licenses.bsd3;
34 maintainers = with maintainers; [ synthetica ];
35 };
36}