anki-bin: 24.06.3 -> 24.11 (#360722)
[NixPkgs.git] / pkgs / development / python-modules / mdit-py-plugins / default.nix
blob7287175c665b2d5a40febc5f42b5dd9ba240ab61
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   pythonOlder,
6   flit-core,
7   markdown-it-py,
8   pytest-regressions,
9   pytestCheckHook,
12 buildPythonPackage rec {
13   pname = "mdit-py-plugins";
14   version = "0.4.2";
15   format = "pyproject";
17   disabled = pythonOlder "3.6";
19   src = fetchFromGitHub {
20     owner = "executablebooks";
21     repo = pname;
22     rev = "refs/tags/v${version}";
23     hash = "sha256-aY2DMLh1OkWVcN6A29FLba1ETerf/EOqSjHVpsdE21M=";
24   };
26   nativeBuildInputs = [ flit-core ];
28   propagatedBuildInputs = [ markdown-it-py ];
30   nativeCheckInputs = [
31     pytestCheckHook
32     pytest-regressions
33   ];
35   pythonImportsCheck = [ "mdit_py_plugins" ];
37   meta = with lib; {
38     description = "Collection of core plugins for markdown-it-py";
39     homepage = "https://github.com/executablebooks/mdit-py-plugins";
40     changelog = "https://github.com/executablebooks/mdit-py-plugins/blob/v${version}/CHANGELOG.md";
41     license = licenses.mit;
42     maintainers = [ ];
43   };