mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 13:43:22 +00:00
424073c2cd
Signed-off-by: lucasew <lucas59356@gmail.com>
31 lines
607 B
Nix
31 lines
607 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pythonOlder
|
|
, pyquaternion
|
|
, numpy
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "bbox";
|
|
version = "0.9.2";
|
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-ucR7mg9eubEefjC7ratEgrb9h++a26z8KV38n3N2kcw=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|