10 python = python3.override {
11 packageOverrides = self: super: {
12 mdit-py-plugins = super.mdit-py-plugins.overridePythonAttrs (_prev: rec {
15 src = fetchFromGitHub {
16 owner = "executablebooks";
17 repo = "mdit-py-plugins";
18 rev = "refs/tags/v${version}";
19 hash = "sha256-YBJu0vIOD747DrJLcqiZMHq34+gHdXeGLCw1OxxzIJ0=";
24 in python.pkgs.buildPythonPackage rec {
25 pname = "mdformat-admon";
29 disabled = pythonOlder "3.7";
31 src = fetchFromGitHub {
35 hash = "sha256-33Q3Re/axnoOHZ9XYA32mmK+efsSelJXW8sD7C1M/jU=";
38 nativeBuildInputs = with python.pkgs; [
42 buildInputs = with python.pkgs; [
46 propagatedBuildInputs = with python.pkgs; [
51 description = "mdformat plugin for admonitions";
52 homepage = "https://github.com/KyleKing/mdformat-admon";
53 license = licenses.mit;
54 maintainers = with maintainers; [ aldoborrero ];