From 0118bf221ec2ff40c5f7ead1adfe5a58e7d481e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Sun, 17 Mar 2024 11:42:14 -0700 Subject: [PATCH] python311Packages.x-wr-timezone: 0.0.6 -> 0.0.7 Diff: https://github.com/niccokunzmann/x-wr-timezone/compare/v0.0.6...v0.0.7 Changelog: https://github.com/niccokunzmann/x-wr-timezone/blob/v0.0.7/README.rst#changelog --- .../python-modules/x-wr-timezone/default.nix | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/x-wr-timezone/default.nix b/pkgs/development/python-modules/x-wr-timezone/default.nix index 17afeaf5a348..f71e1c062869 100644 --- a/pkgs/development/python-modules/x-wr-timezone/default.nix +++ b/pkgs/development/python-modules/x-wr-timezone/default.nix @@ -1,6 +1,7 @@ { lib , buildPythonPackage , fetchFromGitHub +, setuptools , icalendar , pytz , pytestCheckHook @@ -10,17 +11,20 @@ buildPythonPackage rec { pname = "x-wr-timezone"; - version = "0.0.6"; - - format = "setuptools"; + version = "0.0.7"; + pyproject = true; src = fetchFromGitHub { owner = "niccokunzmann"; repo = "x-wr-timezone"; rev = "v${version}"; - hash = "sha256-9B1gXabpZsJSHYUHLu6bBGidO3C5m/I0oOc5U/mbX0I="; + hash = "sha256-itqsVYYUcpbKTh0BM6IHk6F9xhB+pAQnnJsnZAVpNL4="; }; + nativeBuildInputs = [ + setuptools + ]; + propagatedBuildInputs = [ icalendar pytz @@ -36,8 +40,10 @@ buildPythonPackage rec { export PATH=$out/bin:$PATH ''; - # https://github.com/niccokunzmann/x-wr-timezone/issues/8 - doCheck = false; + disabledTests = [ + "test_input_to_output" + "test_output_stays_the_same" + ]; pythonImportsCheck = [ "x_wr_timezone" ];