Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / bbox / default.nix
blobdf28d568b0103d70ae3ea6f53a72c20f5abce80b
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , pytestCheckHook
5 , pythonOlder
6 , matplotlib
7 , numpy
8 , pendulum
9 , pillow
10 , poetry-core
11 , pyquaternion
14 buildPythonPackage rec {
15   pname = "bbox";
16   version = "0.9.4";
17   pyproject = true;
19   disabled = pythonOlder "3.6";
21   src = fetchFromGitHub {
22     owner = "varunagrawal";
23     repo = pname;
24     # matches 0.9.4 on PyPi + tests
25     rev = "d3f07ed0e38b6015cf4181e3b3edae6a263f8565";
26     hash = "sha256-FrJ8FhlqwmnEB/QvPlkDfqZncNGPhwY9aagM9yv1LGs=";
27   };
29   propagatedBuildInputs = [ pyquaternion numpy ];
30   buildInputs = [ poetry-core ];
32   nativeCheckInputs = [
33     matplotlib
34     pendulum
35     pillow
36     pytestCheckHook
37   ];
39   pythonImportsCheck = [ "bbox" ];
41   meta = with lib; {
42     description = "Python library for 2D/3D bounding boxes";
43     homepage = "https://github.com/varunagrawal/bbox";
44     license = licenses.mit;
45     maintainers = with maintainers; [ lucasew ];
46   };