depot/third_party/nixpkgs/pkgs/development/python-modules/bbox/default.nix
Default email 2c76a4cb41 Project import generated by Copybara.
GitOrigin-RevId: c757e9bd77b16ca2e03c89bf8bc9ecb28e0c06ad
2023-11-16 04:20:00 +00:00

30 lines
605 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, pyquaternion
, numpy
}:
buildPythonPackage rec {
pname = "bbox";
version = "0.9.4";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
hash = "sha256-GGQhKkdwmrYPEhtldPY3WUInSniU/B40NZvt1gXEuzg=";
};
propagatedBuildInputs = [ pyquaternion numpy ];
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 ];
};
}