diff --git a/pkgs/by-name/an/annextimelog/package.nix b/pkgs/by-name/an/annextimelog/package.nix index e791ce9f7d8b..7306ad674574 100644 --- a/pkgs/by-name/an/annextimelog/package.nix +++ b/pkgs/by-name/an/annextimelog/package.nix @@ -5,39 +5,29 @@ fetchPypi, }: -let - tzdata = python3.pkgs.tzdata.overrideAttrs rec { - version = "2023.4"; - - src = fetchPypi { - pname = "tzdata"; - inherit version; - hash = "sha256-3VTJTylHZVIsdzmWSbT+/ZVSJHmmZKDOyH9BvrxhSMk="; - }; - }; -in python3.pkgs.buildPythonApplication rec { pname = "annextimelog"; - version = "0.14.0"; + version = "0.15.0"; format = "pyproject"; src = fetchFromGitLab { owner = "nobodyinperson"; repo = "annextimelog"; rev = "v${version}"; - hash = "sha256-+3PkG33qKckagSVvVdqkypulO7uu5AMOv8fQiP8IUbs="; + hash = "sha256-RfqBtbfArFva3TVJGF4STx0QTio62qxXaM23lsLYLUg="; }; pythonRelaxDeps = [ "rich" ]; - nativeBuildInputs = - with python3.pkgs; - [ - setuptools - wheel - poetry-core - ] - ++ [ tzdata ]; + nativeBuildInputs = with python3.pkgs; [ + unittestCheckHook + setuptools + wheel + poetry-core + tzdata + ]; + + unittestFlags = [ "-vb" ]; propagatedBuildInputs = with python3.pkgs; [ rich