28 lines
495 B
Nix
28 lines
495 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, nose
|
|
, version
|
|
, sha256
|
|
, format ? "setuptools"
|
|
, extraMeta ? {}
|
|
}:
|
|
|
|
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;
|
|
} // extraMeta;
|
|
}
|