From d2db417d1b44e15a4d219d0d94383bac374c32f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Fri, 26 Jul 2024 06:04:14 -0700 Subject: [PATCH] python312Packages.tempora: 5.6.0 -> 5.7.0 Diff: https://github.com/jaraco/tempora/compare/refs/tags/v5.6.0...v5.7.0 Changelog: https://github.com/jaraco/tempora/blob/v5.7.0/NEWS.rst --- .../python-modules/tempora/default.nix | 28 +++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/pkgs/development/python-modules/tempora/default.nix b/pkgs/development/python-modules/tempora/default.nix index 6c2a136d831e..d618aeae5a28 100644 --- a/pkgs/development/python-modules/tempora/default.nix +++ b/pkgs/development/python-modules/tempora/default.nix @@ -1,38 +1,38 @@ { lib, buildPythonPackage, - fetchPypi, - freezegun, + fetchFromGitHub, jaraco-functools, - pytest-freezegun, + pytest-freezer, pytestCheckHook, + python-dateutil, pythonOlder, - pytz, setuptools-scm, }: buildPythonPackage rec { pname = "tempora"; - version = "5.6.0"; - format = "pyproject"; + version = "5.7.0"; + pyproject = true; disabled = pythonOlder "3.8"; - src = fetchPypi { - inherit pname version; - hash = "sha256-O/zBLL27uv7KrMuQl/w3VENbnQY9zkMzjk+ofTkQSu0="; + src = fetchFromGitHub { + owner = "jaraco"; + repo = "tempora"; + rev = "refs/tags/v${version}"; + hash = "sha256-M6nWKYvgn4tk2diiTDAYb1uQdP8H1M8yqhsFLJ9H7HU="; }; - nativeBuildInputs = [ setuptools-scm ]; + build-system = [ setuptools-scm ]; - propagatedBuildInputs = [ + dependencies = [ jaraco-functools - pytz + python-dateutil ]; nativeCheckInputs = [ - freezegun - pytest-freezegun + pytest-freezer pytestCheckHook ];