fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
36 lines
779 B
Nix
36 lines
779 B
Nix
{
|
|
lib,
|
|
fetchPypi,
|
|
click,
|
|
pyyaml,
|
|
buildPythonPackage,
|
|
pythonOlder,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "panflute";
|
|
version = "2.3.1";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-XxvQKjTvOYLuAl7FtY+zpu7fwx2ZS4rjnY3JkVotjx8=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
click
|
|
pyyaml
|
|
];
|
|
|
|
pythonImportsCheck = [ "panflute" ];
|
|
|
|
meta = with lib; {
|
|
description = "Pythonic alternative to John MacFarlane's pandocfilters, with extra helper functions";
|
|
homepage = "http://scorreia.com/software/panflute";
|
|
changelog = "https://github.com/sergiocorreia/panflute/releases/tag/${version}";
|
|
license = licenses.bsd3;
|
|
maintainers = with maintainers; [ synthetica ];
|
|
};
|
|
}
|