Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.1 kB · 49 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950{ lib, buildPythonPackage, fetchFromGitHub, flit-core, mdformat, mdformat-footnote, mdformat-frontmatter, mdformat-tables, mdit-py-plugins, ruamel-yaml, pytestCheckHook,}:
buildPythonPackage rec { pname = "mdformat-myst"; version = "0.2.1"; pyproject = true;
src = fetchFromGitHub { owner = "executablebooks"; repo = "mdformat-myst"; tag = "v${version}"; hash = "sha256-Ty9QOsOTCNfhdLVuLfD0x63OFfHhODr14i/dhN+Sqnc="; };
build-system = [ flit-core ];
dependencies = [ mdformat mdformat-footnote mdformat-frontmatter mdformat-tables mdit-py-plugins ruamel-yaml ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "mdformat_myst" ];
meta = { description = "Mdformat plugin for MyST compatibility"; homepage = "https://github.com/executablebooks/mdformat-myst"; changelog = "https://github.com/executablebooks/mdformat-myst/releases/tag/v${version}/CHANGELOG.md"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ mattkang ]; };}