anki-bin: 24.06.3 -> 24.11 (#360722)
[NixPkgs.git] / pkgs / development / python-modules / mdformat-admon / default.nix
blobefc9e7b2dbb1fee8cdecde5a14e0f93f9861a23b
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   flit-core,
6   mdformat,
7   mdit-py-plugins,
8   pytestCheckHook,
9   pythonOlder,
12 buildPythonPackage rec {
13   pname = "mdformat-admon";
14   version = "2.0.6";
15   pyproject = true;
17   disabled = pythonOlder "3.8";
19   src = fetchFromGitHub {
20     owner = "KyleKing";
21     repo = "mdformat-admon";
22     rev = "refs/tags/v${version}";
23     hash = "sha256-YyEiqry1dAm/2EEuQjPFEfdpLI+NiLhVcyx4jAyXs4E=";
24   };
26   nativeBuildInputs = [ flit-core ];
28   propagatedBuildInputs = [
29     mdformat
30     mdit-py-plugins
31   ];
33   nativeCheckInputs = [ pytestCheckHook ];
35   meta = with lib; {
36     description = "Mdformat plugin for admonitions";
37     homepage = "https://github.com/KyleKing/mdformat-admon";
38     license = licenses.mit;
39     maintainers = with maintainers; [ aldoborrero ];
40   };