2021-02-05 17:12:51 +00:00
|
|
|
{ lib
|
|
|
|
, fetchPypi
|
|
|
|
, click
|
|
|
|
, pyyaml
|
|
|
|
, buildPythonPackage
|
|
|
|
, isPy3k
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec{
|
2022-01-13 20:06:32 +00:00
|
|
|
version = "2.1.3";
|
2021-02-05 17:12:51 +00:00
|
|
|
pname = "panflute";
|
|
|
|
|
|
|
|
disabled = !isPy3k;
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-01-13 20:06:32 +00:00
|
|
|
sha256 = "y5QkT+dmiTuy8XLruCfsPe12G4//qE5MhLZ4ufip/5U=";
|
2021-02-05 17:12:51 +00:00
|
|
|
};
|
|
|
|
|
2022-01-13 20:06:32 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
click
|
|
|
|
pyyaml
|
|
|
|
];
|
2021-02-05 17:12:51 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A Pythonic alternative to John MacFarlane's pandocfilters, with extra helper functions";
|
|
|
|
homepage = "http://scorreia.com/software/panflute";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ synthetica ];
|
|
|
|
};
|
|
|
|
}
|