From 9203d7fb6be1010efce039af4762ed98f82c3bfb Mon Sep 17 00:00:00 2001 From: Theodore Ni <3806110+tjni@users.noreply.github.com> Date: Fri, 11 Aug 2023 14:13:46 -0700 Subject: [PATCH] ablog: 0.10.33.post1 -> 0.11.14.post1 --- pkgs/applications/misc/ablog/default.nix | 35 +++++++++++++++--------- 1 file changed, 22 insertions(+), 13 deletions(-) diff --git a/pkgs/applications/misc/ablog/default.nix b/pkgs/applications/misc/ablog/default.nix index c57ba4721bce..a57bae8aa9b1 100644 --- a/pkgs/applications/misc/ablog/default.nix +++ b/pkgs/applications/misc/ablog/default.nix @@ -3,30 +3,39 @@ , fetchPypi }: -with python3.pkgs; - -buildPythonApplication rec { +python3.pkgs.buildPythonApplication rec { pname = "ablog"; - version = "0.10.33.post1"; + version = "0.11.4.post1"; + format = "pyproject"; src = fetchPypi { inherit pname version; - sha256 = "sha256-+vrVQ4sItCXrSCzNXyKk6/6oDBOyfyD7iNWzmcbE/BQ="; + hash = "sha256-Zyvx7lVUQtjoGsSpFmH8pFrgTGgsFd4GMsL3fXKtUpU="; }; - propagatedBuildInputs = [ - feedgen - sphinx - invoke - watchdog - python-dateutil + nativeBuildInputs = with python3.pkgs; [ + setuptools + setuptools-scm + wheel ]; - nativeCheckInputs = [ + propagatedBuildInputs = with python3.pkgs; [ + docutils + feedgen + invoke + packaging + python-dateutil + sphinx + watchdog + ]; + + nativeCheckInputs = with python3.pkgs; [ pytestCheckHook ]; - nativeBuildInputs = [ setuptools-scm ]; + pytestFlagsArray = [ + "--rootdir" "src/ablog" + ]; meta = with lib; { description = "ABlog for blogging with Sphinx";