1{ lib
2, fetchPypi
3, click
4, pyyaml
5, buildPythonPackage
6, pythonOlder
7}:
8
9buildPythonPackage rec{
10 pname = "panflute";
11 version = "2.3.0";
12 format = "setuptools";
13
14 disabled = pythonOlder "3.7";
15
16 src = fetchPypi {
17 inherit pname version;
18 hash = "sha256-zv2d/EjM2XMqU9tXYQcB0igG2jl6ipflzI3AcLVYZco=";
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 changelog = "https://github.com/sergiocorreia/panflute/releases/tag/${version}";
34 license = licenses.bsd3;
35 maintainers = with maintainers; [ synthetica ];
36 };
37}