From e2e7ca9bb398636d93904d20634ffe051aeff26e Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 16 Sep 2023 11:26:58 +0200 Subject: [PATCH] python311Packages.beautiful-date: 2.2.0 -> 2.3.0 Diff: https://github.com/kuzmoyev/beautiful-date/compare/refs/tags/v2.2.0...v2.3.0 --- .../python-modules/beautiful-date/default.nix | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/beautiful-date/default.nix b/pkgs/development/python-modules/beautiful-date/default.nix index 5b114655bcbb..22f69a728539 100644 --- a/pkgs/development/python-modules/beautiful-date/default.nix +++ b/pkgs/development/python-modules/beautiful-date/default.nix @@ -1,6 +1,7 @@ { lib , buildPythonPackage , fetchFromGitHub +, freezegun , python-dateutil , pytestCheckHook , pythonOlder @@ -8,16 +9,16 @@ buildPythonPackage rec { pname = "beautiful-date"; - version = "2.2.0"; + version = "2.3.0"; format = "setuptools"; - disable = pythonOlder "3.6"; + disable = pythonOlder "3.7"; src = fetchFromGitHub { owner = "kuzmoyev"; repo = "beautiful-date"; - rev = "v${version}"; - hash = "sha256-5xRmHaAPf1ps75cOINHkHT1aYb5UGLZGl0OHVQaMES0="; + rev = "refs/tags/v${version}"; + hash = "sha256-e6YJBaDwWqVehxBPOvsIdV4FIXlIwj29H5untXGJvT0="; }; propagatedBuildInputs = [ @@ -25,13 +26,16 @@ buildPythonPackage rec { ]; nativeCheckInputs = [ + freezegun pytestCheckHook ]; - pythonImportsCheck = [ "beautiful_date" ]; + pythonImportsCheck = [ + "beautiful_date" + ]; meta = with lib; { - description = "Simple and beautiful way to create date and datetime objects in Python"; + description = "Simple and beautiful way to create date and datetime objects"; homepage = "https://github.com/kuzmoyev/beautiful-date"; license = licenses.mit; maintainers = with maintainers; [ mbalatsko ];