summaryrefslogtreecommitdiffstats
path: root/pkgs/development/python-modules/panflute/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/panflute/default.nix')
-rw-r--r--pkgs/development/python-modules/panflute/default.nix28
1 files changed, 28 insertions, 0 deletions
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 ];
+ };
+}