Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / mdit-py-plugins / default.nix
blobad3e8580f11dd3d9c8c37491366699bd8bebccfe
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , pythonOlder
5 , flit-core
6 , markdown-it-py
7 , pytest-regressions
8 , pytestCheckHook
9 }:
11 buildPythonPackage rec {
12   pname = "mdit-py-plugins";
13   version = "0.4.0";
14   format = "pyproject";
16   disabled = pythonOlder "3.6";
18   src = fetchFromGitHub {
19     owner = "executablebooks";
20     repo = pname;
21     rev = "refs/tags/v${version}";
22     hash = "sha256-YBJu0vIOD747DrJLcqiZMHq34+gHdXeGLCw1OxxzIJ0=";
23   };
25   nativeBuildInputs = [
26     flit-core
27   ];
29   propagatedBuildInputs = [
30     markdown-it-py
31   ];
33   nativeCheckInputs = [
34     pytestCheckHook
35     pytest-regressions
36   ];
38   pythonImportsCheck = [
39     "mdit_py_plugins"
40   ];
42   meta = with lib; {
43     description = "Collection of core plugins for markdown-it-py";
44     homepage = "https://github.com/executablebooks/mdit-py-plugins";
45     changelog = "https://github.com/executablebooks/mdit-py-plugins/blob/v${version}/CHANGELOG.md";
46     license = licenses.mit;
47     maintainers = with maintainers; [ AluisioASG ];
48   };