mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
python3Packages.motmetrics: init at 1.4.0-unstable-20240130
This commit is contained in:
parent
07d613ce18
commit
e376785642
58
pkgs/development/python-modules/motmetrics/default.nix
Normal file
58
pkgs/development/python-modules/motmetrics/default.nix
Normal 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; [ ];
|
||||
};
|
||||
}
|
@ -7278,6 +7278,8 @@ self: super: with self; {
|
||||
|
||||
mortgage = callPackage ../development/python-modules/mortgage { };
|
||||
|
||||
motmetrics = callPackage ../development/python-modules/motmetrics { };
|
||||
|
||||
motionblinds = callPackage ../development/python-modules/motionblinds { };
|
||||
|
||||
motioneye-client = callPackage ../development/python-modules/motioneye-client { };
|
||||
|
Loading…
Reference in New Issue
Block a user