075e8c2c4f
This is almost all find-and-replace. I manually edited: * pkgs/development/python-modules/notifications-android-tv/default.nix, * pkgs/servers/home-assistant/default.nix, * pkgs/development/tools/continuous-integration/buildbot/master.nix A few files have not been changed in this PR because they would cause rebuilds. This PR should have 0 rebuilds.
42 lines
920 B
Nix
42 lines
920 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
flit-core,
|
|
markdown-it-py,
|
|
pytest-regressions,
|
|
pytestCheckHook,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "mdit-py-plugins";
|
|
version = "0.4.2";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "executablebooks";
|
|
repo = "mdit-py-plugins";
|
|
tag = "v${version}";
|
|
hash = "sha256-aY2DMLh1OkWVcN6A29FLba1ETerf/EOqSjHVpsdE21M=";
|
|
};
|
|
|
|
nativeBuildInputs = [ flit-core ];
|
|
|
|
propagatedBuildInputs = [ markdown-it-py ];
|
|
|
|
nativeCheckInputs = [
|
|
pytestCheckHook
|
|
pytest-regressions
|
|
];
|
|
|
|
pythonImportsCheck = [ "mdit_py_plugins" ];
|
|
|
|
meta = {
|
|
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 = lib.licenses.mit;
|
|
maintainers = [ ];
|
|
};
|
|
}
|