b30e8c9c19
https://blog.franco.net.eu.org/software/CHANGELOG-md-toc.html This commit was automatically generated using update-python-libraries.
45 lines
928 B
Nix
45 lines
928 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
fpyutils,
|
|
pyfakefs,
|
|
pytestCheckHook,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "md-toc";
|
|
version = "9.0.0";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "frnmst";
|
|
repo = "md-toc";
|
|
tag = version;
|
|
hash = "sha256-YVDFYxxKMKOrHyymewLTTkmBgg6YVqWou4hTKHJmbOg=";
|
|
};
|
|
|
|
nativeBuildInputs = [ setuptools ];
|
|
|
|
propagatedBuildInputs = [ fpyutils ];
|
|
|
|
nativeCheckInputs = [
|
|
pyfakefs
|
|
pytestCheckHook
|
|
];
|
|
|
|
enabledTestPaths = [ "md_toc/tests/*.py" ];
|
|
|
|
pythonImportsCheck = [ "md_toc" ];
|
|
|
|
meta = {
|
|
description = "Table of contents generator for Markdown";
|
|
mainProgram = "md_toc";
|
|
homepage = "https://docs.franco.net.eu.org/md-toc/";
|
|
changelog = "https://blog.franco.net.eu.org/software/CHANGELOG-md-toc.html";
|
|
license = with lib.licenses; [ gpl3Plus ];
|
|
maintainers = with lib.maintainers; [ fab ];
|
|
};
|
|
}
|