forked from mirrors/nixpkgs
20 lines
459 B
Nix
20 lines
459 B
Nix
{ 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;
|
|
};
|
|
}
|