mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-06 21:13:40 +00:00
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;
|
|
};
|
|
}
|