depot/third_party/nixpkgs/pkgs/development/python-modules/panflute/default.nix
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00

28 lines
600 B
Nix

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