nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ lib
2, fetchPypi
3, click
4, pyyaml
5, buildPythonPackage
6, isPy3k
7}:
8
9buildPythonPackage rec{
10 version = "2.1.3";
11 pname = "panflute";
12
13 disabled = !isPy3k;
14
15 src = fetchPypi {
16 inherit pname version;
17 sha256 = "y5QkT+dmiTuy8XLruCfsPe12G4//qE5MhLZ4ufip/5U=";
18 };
19
20 propagatedBuildInputs = [
21 click
22 pyyaml
23 ];
24
25 meta = with lib; {
26 description = "A Pythonic alternative to John MacFarlane's pandocfilters, with extra helper functions";
27 homepage = "http://scorreia.com/software/panflute";
28 license = licenses.bsd3;
29 maintainers = with maintainers; [ synthetica ];
30 };
31}