python3Packages.marko: 2.2.2 -> 2.2.3 (#528242)
This commit is contained in:
@@ -2,56 +2,45 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
objprint,
|
||||
pdm-backend,
|
||||
pygments,
|
||||
objprint,
|
||||
python-slugify,
|
||||
pytestCheckHook,
|
||||
python-slugify,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "marko";
|
||||
version = "2.2.2";
|
||||
version = "2.2.3";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "frostming";
|
||||
repo = "marko";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-gJmxYURSvh8Gd3pboGJGkPhIBeViX0apvummoDhPqfk=";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-EuLir4Nws39B3onmWnnvEzp5W8934K89/WHOVHxVVKM=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
pdm-backend
|
||||
];
|
||||
build-system = [ pdm-backend ];
|
||||
|
||||
optional-dependencies = {
|
||||
codehilite = [
|
||||
pygments
|
||||
];
|
||||
repr = [
|
||||
objprint
|
||||
];
|
||||
toc = [
|
||||
python-slugify
|
||||
];
|
||||
codehilite = [ pygments ];
|
||||
repr = [ objprint ];
|
||||
toc = [ python-slugify ];
|
||||
};
|
||||
|
||||
pythonImportsCheck = [
|
||||
"marko"
|
||||
];
|
||||
pythonImportsCheck = [ "marko" ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
]
|
||||
++ optional-dependencies.toc
|
||||
++ optional-dependencies.codehilite;
|
||||
++ lib.flatten (builtins.attrValues finalAttrs.passthru.optional-dependencies);
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/frostming/marko/blob/${src.tag}/CHANGELOG.md";
|
||||
description = "Markdown parser with high extensibility";
|
||||
homepage = "https://github.com/frostming/marko";
|
||||
changelog = "https://github.com/frostming/marko/blob/${finalAttrs.src.tag}/CHANGELOG.md";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = [ ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user