Added frigate 0.13.1

This commit is contained in:
fleaz 2024-02-04 16:41:14 +01:00
parent 8d47f6b09c
commit 4e7c86505f
No known key found for this signature in database
GPG key ID: AED15F8FDD04D083
8 changed files with 807 additions and 0 deletions

58
motmetrics/default.nix Normal file
View file

@ -0,0 +1,58 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
# build-system
, setuptools
# dependencies
, numpy
, pandas
, scipy
, xmltodict
# tests
, pytestCheckHook
, pytest-benchmark
}:
buildPythonPackage rec {
pname = "motmetrics";
version = "1.4.0-unstable-20240130";
pyproject = true;
src = fetchFromGitHub {
owner = "cheind";
repo = "py-motmetrics";
# latest release is not compatible with pandas 2.0
rev = "7210fcce0be1b76c96a62f6fe4ddbc90d944eacb";
hash = "sha256-7LKLHXWgW4QpivAgzvWl6qEG0auVvpiZ6bfDViCKsFY=";
};
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
numpy
pandas
scipy
xmltodict
];
nativeCheckInputs = [
pytestCheckHook
pytest-benchmark
];
pythonImportsCheck = [
"motmetrics"
];
meta = with lib; {
description = "Bar_chart: Benchmark multiple object trackers (MOT) in Python";
homepage = "https://github.com/cheind/py-motmetrics";
license = licenses.mit;
maintainers = with maintainers; [ ];
};
}