From f72f55f69080a32c7f58a113049db36dcfa75f10 Mon Sep 17 00:00:00 2001 From: Patrick Hilhorst Date: Mon, 1 Feb 2021 14:41:48 +0100 Subject: [PATCH] python3Packages.panflute: init at 2.0.5 (#111463) --- .../python-modules/panflute/default.nix | 28 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 30 insertions(+) create mode 100644 pkgs/development/python-modules/panflute/default.nix diff --git a/pkgs/development/python-modules/panflute/default.nix b/pkgs/development/python-modules/panflute/default.nix new file mode 100644 index 000000000000..da08b858b1b9 --- /dev/null +++ b/pkgs/development/python-modules/panflute/default.nix @@ -0,0 +1,28 @@ +{ lib +, fetchPypi +, click +, pyyaml +, buildPythonPackage +, isPy3k +}: + +buildPythonPackage rec{ + version = "2.0.5"; + pname = "panflute"; + + disabled = !isPy3k; + + src = fetchPypi { + inherit pname version; + sha256 = "1ssmqcyr91f0gpl49lz6a9jkl17l06h6qcik24rlmva28ii6aszz"; + }; + + propagatedBuildInputs = [ click pyyaml ]; + + 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 ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index c13d9e079d22..a7d370ff4561 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -4652,6 +4652,8 @@ in { panel = callPackage ../development/python-modules/panel { }; + panflute = callPackage ../development/python-modules/panflute { }; + papermill = callPackage ../development/python-modules/papermill { }; openpaperwork-core = callPackage ../applications/office/paperwork/openpaperwork-core.nix { };