about summary refs log tree commit diff
path: root/pkgs/development/python-modules/panflute/default.nix
blob: d94dc48b6d03fa1b2dbe02f797ab5478c0efa14e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{ lib
, fetchPypi
, click
, pyyaml
, buildPythonPackage
, isPy3k
}:

buildPythonPackage rec{
  version = "2.1.3";
  pname = "panflute";

  disabled = !isPy3k;

  src = fetchPypi {
    inherit pname version;
    sha256 = "y5QkT+dmiTuy8XLruCfsPe12G4//qE5MhLZ4ufip/5U=";
  };

  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 ];
  };
}