python3Packages.mdit-py-plugins: init at 0.2.8
This commit is contained in:
parent
66534789b0
commit
11c3036bff
35
pkgs/development/python-modules/mdit-py-plugins/default.nix
Normal file
35
pkgs/development/python-modules/mdit-py-plugins/default.nix
Normal file
|
@ -0,0 +1,35 @@
|
||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, pythonOlder
|
||||||
|
, markdown-it-py
|
||||||
|
, pytest-regressions
|
||||||
|
, pytestCheckHook
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "mdit-py-plugins";
|
||||||
|
version = "0.2.8";
|
||||||
|
format = "pyproject";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.6";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "executablebooks";
|
||||||
|
repo = pname;
|
||||||
|
rev = "v${version}";
|
||||||
|
hash = "sha256-MXQjaVDuguGbmby6BQnrTdpq6Mih3HabXuyFxf9jB18=";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ markdown-it-py ];
|
||||||
|
|
||||||
|
checkInputs = [ 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";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ AluisioASG ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -4110,6 +4110,8 @@ in {
|
||||||
|
|
||||||
md2gemini = callPackage ../development/python-modules/md2gemini { };
|
md2gemini = callPackage ../development/python-modules/md2gemini { };
|
||||||
|
|
||||||
|
mdit-py-plugins = callPackage ../development/python-modules/mdit-py-plugins { };
|
||||||
|
|
||||||
MDP = callPackage ../development/python-modules/mdp { };
|
MDP = callPackage ../development/python-modules/mdp { };
|
||||||
|
|
||||||
measurement = callPackage ../development/python-modules/measurement { };
|
measurement = callPackage ../development/python-modules/measurement { };
|
||||||
|
|
Loading…
Reference in a new issue