depot/third_party/nixpkgs/pkgs/development/python-modules/mistune/common.nix

20 lines
459 B
Nix
Raw Normal View History

{ lib, buildPythonPackage, fetchPypi, nose, version, sha256, format ? "setuptools" }:
buildPythonPackage rec {
inherit version format;
pname = "mistune";
src = fetchPypi {
inherit pname version sha256;
};
buildInputs = [ nose ];
pythonImportsCheck = [ "mistune" ];
meta = with lib; {
description = "The fastest markdown parser in pure Python";
homepage = "https://github.com/lepture/mistune";
license = licenses.bsd3;
};
}