Something went wrong. Try again.
Nix Packages collection & NixOS github.com/NixOS/nixpkgs
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162{ lib, buildPythonPackage, fetchFromGitHub,
# build-system setuptools,
# dependencies numpy, pandas, scipy, xmltodict,
# tests pytestCheckHook, pytest-benchmark,}:
let version = "1.4.0";inbuildPythonPackage { pname = "motmetrics"; version = "${version}-unstable-2026-07-17"; pyproject = true;
src = fetchFromGitHub { owner = "cheind"; repo = "py-motmetrics"; # Latest release (1.4.0) is not compatible with pandas >= 2.0 rev = "e5ae766fab03b804f485d7c95ee1809b94d32dcc"; hash = "sha256-B3uJ7q5r8eb17hHHVe81pKFI+RTwJ7rn5BT11sm20t0="; };
build-system = [ setuptools ];
dependencies = [ numpy pandas scipy xmltodict ];
nativeCheckInputs = [ pytestCheckHook pytest-benchmark ];
pytestFlags = [ "--benchmark-disable" ];
pythonImportsCheck = [ "motmetrics" ];
meta = { description = "Benchmark multiple object trackers (MOT) in Python"; homepage = "https://github.com/cheind/py-motmetrics"; changelog = "https://github.com/cheind/py-motmetrics/releases/tag/v${version}"; license = lib.licenses.mit; maintainers = [ ]; };}