Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.0 kB · 44 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445{ lib, buildPythonPackage, fetchFromGitHub, pythonOlder, flit-core, markdown-it-py, pytest-regressions, pytestCheckHook,}:
buildPythonPackage rec { pname = "mdit-py-plugins"; version = "0.4.1"; format = "pyproject";
disabled = pythonOlder "3.6";
src = fetchFromGitHub { owner = "executablebooks"; repo = pname; rev = "refs/tags/v${version}"; hash = "sha256-xIbP2zHvHWV+2wW17i78vxc5npCvRBYP6QuL/mCBIww="; };
nativeBuildInputs = [ flit-core ];
propagatedBuildInputs = [ markdown-it-py ];
nativeCheckInputs = [ pytestCheckHook pytest-regressions ];
pythonImportsCheck = [ "mdit_py_plugins" ];
meta = with lib; { description = "Collection of core plugins for markdown-it-py"; homepage = "https://github.com/executablebooks/mdit-py-plugins"; changelog = "https://github.com/executablebooks/mdit-py-plugins/blob/v${version}/CHANGELOG.md"; license = licenses.mit; maintainers = with maintainers; [ AluisioASG ]; };}