Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
949 B · 41 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142{ lib, buildPythonPackage, fetchFromGitHub, flit-core, mdformat, mdit-py-plugins, pytestCheckHook,}:
buildPythonPackage rec { pname = "mdformat-gfm-alerts"; version = "2.0.0"; pyproject = true;
src = fetchFromGitHub { owner = "KyleKing"; repo = "mdformat-gfm-alerts"; tag = "v${version}"; hash = "sha256-Hfi4Ek91G8WHAWjv7m52ZnT5Je9QyZT4yWSecaeTcvA="; };
build-system = [ flit-core ];
dependencies = [ mdformat mdit-py-plugins ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "mdformat_gfm_alerts" ];
meta = { description = "Format 'GitHub Markdown Alerts', which use blockquotes to render admonitions"; homepage = "https://github.com/KyleKing/mdformat-gfm-alerts"; changelog = "https://github.com/KyleKing/mdformat-gfm-alerts/releases/tag/${src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ sigmanificient ]; };}