summary refs log tree commit diff
path: root/pkgs/development/python-modules/mistune/common.nix
blob: 24508372d9a4a5656295bc29d62fe67eaf145e46 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{ 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;
}