Files
nixpkgs/pkgs/by-name/ab/ablog/package.nix
Michael Daniels 8e1e958a9b ablog: 0.11.12 -> 0.11.13
Changelog: https://github.com/sunpy/ablog/releases/tag/v0.11.13

Don't ignore RemovedInSphinx90Warning, as with sphinx 9, it doesn't exist.
2026-02-17 20:56:11 -05:00

66 lines
1.3 KiB
Nix

{
lib,
python3Packages,
fetchFromGitHub,
gitUpdater,
}:
let
version = "0.11.13";
in
python3Packages.buildPythonApplication {
pname = "ablog";
inherit version;
pyproject = true;
src = fetchFromGitHub {
owner = "sunpy";
repo = "ablog";
tag = "v${version}";
hash = "sha256-P1eSN3wqlPNYbYW3Rkz2Y6yFcC379dt/qK8aVNwZRSs=";
};
build-system = with python3Packages; [
setuptools
setuptools-scm
wheel
];
dependencies = with python3Packages; [
docutils
feedgen
invoke
packaging
python-dateutil
sphinx
watchdog
];
nativeCheckInputs = with python3Packages; [
pytestCheckHook
defusedxml
];
pytestFlags = [
"--rootdir=src/ablog"
];
disabledTests = [
# upstream investigation is still ongoing
# https://github.com/sunpy/ablog/issues/302
"test_not_safe_for_parallel_read"
# need sphinx old version
"test_feed"
];
passthru.updateScript = gitUpdater { rev-prefix = "v"; };
meta = {
description = "Sphinx extension that converts any documentation or personal website project into a full-fledged blog";
mainProgram = "ablog";
homepage = "https://ablog.readthedocs.io/en/latest/";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ rgrinberg ];
};
}