From 0c6d45967e9acedcf1ad01713f0ee32349b33008 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Tue, 5 Mar 2024 17:55:55 -0800 Subject: [PATCH] python311Packages.systembridgemodels: 4.0.0 -> 4.0.1 Diff: https://github.com/timmo001/system-bridge-models/compare/refs/tags/4.0.0...4.0.1 Changelog: https://github.com/timmo001/system-bridge-models/releases/tag/4.0.1 --- .../python-modules/systembridgemodels/default.nix | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/systembridgemodels/default.nix b/pkgs/development/python-modules/systembridgemodels/default.nix index 16a16b3a8da4..37bbef1c3b71 100644 --- a/pkgs/development/python-modules/systembridgemodels/default.nix +++ b/pkgs/development/python-modules/systembridgemodels/default.nix @@ -5,11 +5,12 @@ , fetchpatch2 , setuptools , incremental +, pytestCheckHook }: buildPythonPackage rec { pname = "systembridgemodels"; - version = "4.0.0"; + version = "4.0.1"; pyproject = true; disabled = pythonOlder "3.11"; @@ -18,13 +19,13 @@ buildPythonPackage rec { owner = "timmo001"; repo = "system-bridge-models"; rev = "refs/tags/${version}"; - hash = "sha256-4nbTsVRqtoX4UhTrQS4HwoLtx0RO1VA8UewSAWOSsik="; + hash = "sha256-9k85tqJO/YtkYncfNQBelmDkd3SYtf6SHURfumvqUo0="; }; patches = [ (fetchpatch2 { - url = "https://github.com/timmo001/system-bridge-models/commit/7cd506760fd47c0f3717b6fcfe127b673e3198f8.patch"; - hash = "sha256-i+GCcoyX07ii9Kj46dtAlT85jUKfF0KHEH9++UTjiik="; + url = "https://github.com/timmo001/system-bridge-models/commit/82fcee37cb302bc77384165b2ce10f2234c2a14a.patch"; + hash = "sha256-tZSaWVUPCJmuzkae9LBTdyZ3UINMvrSMbdS5AvbId8Q="; }) ]; @@ -38,8 +39,9 @@ buildPythonPackage rec { pythonImportsCheck = [ "systembridgemodels" ]; - # upstream has no tests - doCheck = false; + nativeCheckInputs = [ + pytestCheckHook + ]; meta = { changelog = "https://github.com/timmo001/system-bridge-models/releases/tag/${version}";