From 11c708995f33fb231f1ef06cfa27f0ea679fa55d Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 23 Mar 2025 11:52:20 +0100 Subject: [PATCH] python313Packages.motmetrics: refactor - add changelog to meta --- .../development/python-modules/motmetrics/default.nix | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/motmetrics/default.nix b/pkgs/development/python-modules/motmetrics/default.nix index e6b6fb35ef15..166e80b73924 100644 --- a/pkgs/development/python-modules/motmetrics/default.nix +++ b/pkgs/development/python-modules/motmetrics/default.nix @@ -25,14 +25,14 @@ buildPythonPackage { src = fetchFromGitHub { owner = "cheind"; repo = "py-motmetrics"; - # latest release is not compatible with pandas 2.0 + # Latest release is not compatible with pandas 2.0 rev = "c199b3e853d589af4b6a7d88f5bcc8b8802fc434"; hash = "sha256-DJ82nioW3jdIVo1B623BE8bBhVa1oMzYIkhhit4Z4dg="; }; - nativeBuildInputs = [ setuptools ]; + build-system = [ setuptools ]; - propagatedBuildInputs = [ + dependencies = [ numpy pandas scipy @@ -44,11 +44,14 @@ buildPythonPackage { pytest-benchmark ]; + pytestFlagsArray = [ "--benchmark-disable" ]; + pythonImportsCheck = [ "motmetrics" ]; meta = with lib; { - description = "Bar_chart: Benchmark multiple object trackers (MOT) in Python"; + description = "Benchmark multiple object trackers (MOT) in Python"; homepage = "https://github.com/cheind/py-motmetrics"; + changelog = "https://github.com/cheind/py-motmetrics/releases/tag/${version}"; license = licenses.mit; maintainers = [ ]; };