Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / mistune / default.nix
blob38e2c21ba66ae04ce7ca5638d7c830523d30ea35
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , pytestCheckHook
5 , pythonOlder
6 , setuptools
7 }:
9 buildPythonPackage rec {
10   pname = "mistune";
11   version = "3.0.2";
13   disabled = pythonOlder "3.7";
15   format = "pyproject";
17   src = fetchFromGitHub {
18     owner = "lepture";
19     repo = "mistune";
20     rev = "refs/tags/v${version}";
21     hash = "sha256-OoTiqJ7hsFP1Yx+7xW3rL+Yc/O2lCMdhBBbaZucyZXM=";
22   };
24   nativeBuildInputs = [
25     setuptools
26   ];
28   nativeCheckInputs = [
29     pytestCheckHook
30   ];
32   pythonImportsCheck = [ "mistune" ];
34   meta = with lib; {
35     changelog = "https://github.com/lepture/mistune/blob/${src.rev}/docs/changes.rst";
36     description = "A sane Markdown parser with useful plugins and renderers";
37     homepage = "https://github.com/lepture/mistune";
38     license = licenses.bsd3;
39     maintainers = with maintainers; [ dotlambda ];
40   };