Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.1 kB · 62 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263{ lib, buildPythonPackage, fetchFromGitHub, linkify-it-py, markdown-it-py, mdformat, mdformat-tables, mdit-py-plugins, poetry-core, pytestCheckHook, pythonOlder}:
buildPythonPackage rec { pname = "mdformat-gfm"; version = "0.3.5"; format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchFromGitHub { owner = "hukkin"; repo = pname; rev = "refs/tags/${version}"; hash = "sha256-7sIa50jCN+M36Y0C05QaAL+TVwLzKxJ0gzpZI1YQFxg="; };
nativeBuildInputs = [ poetry-core ];
buildInputs = [ mdformat markdown-it-py mdit-py-plugins ];
propagatedBuildInputs = [ mdformat-tables linkify-it-py ];
nativeCheckInputs = [ pytestCheckHook ];
disabledTests = [ "test_default_style__api" "test_default_style__cli" ];
pythonImportsCheck = [ "mdformat_gfm" ];
meta = with lib; { description = "Mdformat plugin for GitHub Flavored Markdown compatibility"; homepage = "https://github.com/hukkin/mdformat-gfm"; license = licenses.mit; maintainers = with maintainers; [ aldoborrero polarmutex ]; };}