python312Packages.mdformat-myst: init at 0.2.1

authored by MattKang and committed by mattkang cfecd155 d07c5f0f

+50
+49
pkgs/development/python-modules/mdformat-myst/default.nix
··· 1 + { 2 + lib, 3 + buildPythonPackage, 4 + fetchFromGitHub, 5 + flit-core, 6 + mdformat, 7 + mdformat-footnote, 8 + mdformat-frontmatter, 9 + mdformat-tables, 10 + mdit-py-plugins, 11 + ruamel-yaml, 12 + pytestCheckHook, 13 + }: 14 + 15 + buildPythonPackage rec { 16 + pname = "mdformat-myst"; 17 + version = "0.2.1"; 18 + pyproject = true; 19 + 20 + src = fetchFromGitHub { 21 + owner = "executablebooks"; 22 + repo = "mdformat-myst"; 23 + tag = "v${version}"; 24 + hash = "sha256-Ty9QOsOTCNfhdLVuLfD0x63OFfHhODr14i/dhN+Sqnc="; 25 + }; 26 + 27 + build-system = [ flit-core ]; 28 + 29 + dependencies = [ 30 + mdformat 31 + mdformat-footnote 32 + mdformat-frontmatter 33 + mdformat-tables 34 + mdit-py-plugins 35 + ruamel-yaml 36 + ]; 37 + 38 + nativeCheckInputs = [ pytestCheckHook ]; 39 + 40 + pythonImportsCheck = [ "mdformat_myst" ]; 41 + 42 + meta = { 43 + description = "Mdformat plugin for MyST compatibility"; 44 + homepage = "https://github.com/executablebooks/mdformat-myst"; 45 + changelog = "https://github.com/executablebooks/mdformat-myst/releases/tag/v${version}/CHANGELOG.md"; 46 + license = lib.licenses.mit; 47 + maintainers = with lib.maintainers; [ mattkang ]; 48 + }; 49 + }
+1
pkgs/top-level/python-packages.nix
··· 7513 7513 mdformat-frontmatter = callPackage ../development/python-modules/mdformat-frontmatter { }; 7514 7514 mdformat-gfm = callPackage ../development/python-modules/mdformat-gfm { }; 7515 7515 mdformat-mkdocs = callPackage ../development/python-modules/mdformat-mkdocs { }; 7516 + mdformat-myst = callPackage ../development/python-modules/mdformat-myst{ }; 7516 7517 mdformat-nix-alejandra = callPackage ../development/python-modules/mdformat-nix-alejandra { }; 7517 7518 mdformat-simple-breaks = callPackage ../development/python-modules/mdformat-simple-breaks { }; 7518 7519 mdformat-tables = callPackage ../development/python-modules/mdformat-tables { };