blob: df28d568b0103d70ae3ea6f53a72c20f5abce80b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, pythonOlder
, matplotlib
, numpy
, pendulum
, pillow
, poetry-core
, pyquaternion
}:
buildPythonPackage rec {
pname = "bbox";
version = "0.9.4";
pyproject = true;
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "varunagrawal";
repo = pname;
# matches 0.9.4 on PyPi + tests
rev = "d3f07ed0e38b6015cf4181e3b3edae6a263f8565";
hash = "sha256-FrJ8FhlqwmnEB/QvPlkDfqZncNGPhwY9aagM9yv1LGs=";
};
propagatedBuildInputs = [ pyquaternion numpy ];
buildInputs = [ poetry-core ];
nativeCheckInputs = [
matplotlib
pendulum
pillow
pytestCheckHook
];
pythonImportsCheck = [ "bbox" ];
meta = with lib; {
description = "Python library for 2D/3D bounding boxes";
homepage = "https://github.com/varunagrawal/bbox";
license = licenses.mit;
maintainers = with maintainers; [ lucasew ];
};
}
|