From 5f2a43928f45fc1553d916148acee0d4f08be286 Mon Sep 17 00:00:00 2001 From: Peder Bergebakken Sundt Date: Wed, 21 Aug 2024 00:29:51 +0200 Subject: [PATCH] python312Packages.whenever: 0.6.1 -> 0.6.7 Diff: https://github.com/ariebovenberg/whenever/compare/refs/tags/0.6.1...0.6.7 Changelog: https://github.com/ariebovenberg/whenever/blob/refs/tags/0.6.7/CHANGELOG.rst --- pkgs/development/python-modules/whenever/default.nix | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/whenever/default.nix b/pkgs/development/python-modules/whenever/default.nix index 184d987f63a7..5673c472bd7a 100644 --- a/pkgs/development/python-modules/whenever/default.nix +++ b/pkgs/development/python-modules/whenever/default.nix @@ -14,11 +14,13 @@ pytest-mypy-plugins, hypothesis, freezegun, + time-machine, + nix-update-script, }: buildPythonPackage rec { pname = "whenever"; - version = "0.6.1"; + version = "0.6.7"; pyproject = true; disabled = pythonOlder "3.9"; @@ -27,12 +29,12 @@ buildPythonPackage rec { owner = "ariebovenberg"; repo = "whenever"; rev = "refs/tags/${version}"; - hash = "sha256-uUjQtaqPO/Ie7vVddQhc3dxORX2PxNRaDJzCr+vieUo="; + hash = "sha256-aQ6mE9UZg/wa+N2kErDo3edXVvjL/4Bhjmi6//CCmJw="; }; cargoDeps = rustPlatform.fetchCargoTarball { inherit src; - hash = "sha256-8U3pGKY9UQ0JpzUn3Ny6YSD3wzXPDi1pupD5fpEJFvw="; + hash = "sha256-B1weEmW+Q7VxwnLxv9QH75I6IgEICTd70ci/I14ehLY="; }; build-system = [ @@ -53,6 +55,7 @@ buildPythonPackage rec { # pytest-benchmark # developer sanity check, should not block distribution hypothesis freezegun + time-machine ]; disabledTestPaths = [ @@ -69,6 +72,8 @@ buildPythonPackage rec { # TODO: try enabling on bump doCheck = false; + passthru.updateScript = nix-update-script { }; + meta = with lib; { description = "Strict, predictable, and typed datetimes"; homepage = "https://github.com/ariebovenberg/whenever";