2022-03-30 09:31:56 +00:00
|
|
|
{ lib
|
|
|
|
, python3
|
2023-07-15 17:15:38 +00:00
|
|
|
, fetchPypi
|
2022-03-30 09:31:56 +00:00
|
|
|
}:
|
|
|
|
|
2023-08-22 20:05:09 +00:00
|
|
|
python3.pkgs.buildPythonApplication rec {
|
2022-03-30 09:31:56 +00:00
|
|
|
pname = "ablog";
|
2024-01-25 14:12:00 +00:00
|
|
|
version = "0.11.6";
|
2023-08-22 20:05:09 +00:00
|
|
|
format = "pyproject";
|
2022-03-30 09:31:56 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2024-01-25 14:12:00 +00:00
|
|
|
hash = "sha256-fV4W4AaiqyruIz3OQ7/lGkMPMKmyiFa+fdU2QeeQCvs=";
|
2022-03-30 09:31:56 +00:00
|
|
|
};
|
|
|
|
|
2023-08-22 20:05:09 +00:00
|
|
|
nativeBuildInputs = with python3.pkgs; [
|
|
|
|
setuptools
|
|
|
|
setuptools-scm
|
|
|
|
wheel
|
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = with python3.pkgs; [
|
|
|
|
docutils
|
2022-03-30 09:31:56 +00:00
|
|
|
feedgen
|
|
|
|
invoke
|
2023-08-22 20:05:09 +00:00
|
|
|
packaging
|
2022-03-30 09:31:56 +00:00
|
|
|
python-dateutil
|
2023-08-22 20:05:09 +00:00
|
|
|
sphinx
|
|
|
|
watchdog
|
2022-03-30 09:31:56 +00:00
|
|
|
];
|
|
|
|
|
2023-08-22 20:05:09 +00:00
|
|
|
nativeCheckInputs = with python3.pkgs; [
|
2022-03-30 09:31:56 +00:00
|
|
|
pytestCheckHook
|
|
|
|
];
|
|
|
|
|
2023-08-22 20:05:09 +00:00
|
|
|
pytestFlagsArray = [
|
2024-01-13 08:15:51 +00:00
|
|
|
"-W" "ignore::sphinx.deprecation.RemovedInSphinx90Warning"
|
2023-08-22 20:05:09 +00:00
|
|
|
"--rootdir" "src/ablog"
|
2024-01-25 14:12:00 +00:00
|
|
|
"-W" "ignore::sphinx.deprecation.RemovedInSphinx90Warning" # Ignore ImportError
|
2023-08-22 20:05:09 +00:00
|
|
|
];
|
2022-03-30 09:31:56 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "ABlog for blogging with Sphinx";
|
|
|
|
homepage = "https://ablog.readthedocs.io/en/latest/";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ rgrinberg ];
|
|
|
|
};
|
|
|
|
}
|