evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / bbox / default.nix
blob0a41bccf7111c530f2921fe5710323ca0ac0581a
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   pytestCheckHook,
6   pythonOlder,
7   matplotlib,
8   numpy,
9   pendulum,
10   pillow,
11   poetry-core,
12   pyquaternion,
15 buildPythonPackage rec {
16   pname = "bbox";
17   version = "0.9.4";
18   pyproject = true;
20   disabled = pythonOlder "3.6";
22   src = fetchFromGitHub {
23     owner = "varunagrawal";
24     repo = pname;
25     # matches 0.9.4 on PyPi + tests
26     rev = "d3f07ed0e38b6015cf4181e3b3edae6a263f8565";
27     hash = "sha256-FrJ8FhlqwmnEB/QvPlkDfqZncNGPhwY9aagM9yv1LGs=";
28   };
30   nativeBuildInputs = [ poetry-core ];
32   propagatedBuildInputs = [
33     pyquaternion
34     numpy
35   ];
37   nativeCheckInputs = [
38     matplotlib
39     pendulum
40     pillow
41     pytestCheckHook
42   ];
44   disabledTests = [
45     # performance test, racy on busy machines
46     "test_multi_jaccard_index_2d_performance"
47   ];
49   pythonImportsCheck = [ "bbox" ];
51   meta = with lib; {
52     description = "Python library for 2D/3D bounding boxes";
53     homepage = "https://github.com/varunagrawal/bbox";
54     license = licenses.mit;
55     maintainers = with maintainers; [ lucasew ];
56   };