1{ lib
2, buildPythonPackage
3, fetchPypi
4, pythonOlder
5, pyquaternion
6, numpy
7}:
8
9buildPythonPackage rec {
10 pname = "bbox";
11 version = "0.9.2";
12
13 disabled = pythonOlder "3.6";
14
15 src = fetchPypi {
16 inherit pname version;
17 hash = "sha256-ucR7mg9eubEefjC7ratEgrb9h++a26z8KV38n3N2kcw=";
18 };
19
20 propagatedBuildInputs = [ pyquaternion numpy ];
21
22 pythonImportsCheck = [ "bbox" ];
23
24 meta = with lib; {
25 description = "Python library for 2D/3D bounding boxes";
26 homepage = "https://github.com/varunagrawal/bbox";
27 license = licenses.mit;
28 maintainers = with maintainers; [ lucasew ];
29 };
30}