2019-10-31 07:19:05 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, requests
|
|
|
|
, jinja2
|
|
|
|
, pillow
|
|
|
|
, rasterio
|
|
|
|
, shapely
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "labelbox";
|
2020-06-06 07:47:16 +01:00
|
|
|
version = "2.4";
|
2019-10-31 07:19:05 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-06-06 07:47:16 +01:00
|
|
|
sha256 = "cb1c5adfbdc76560bed57d44f272f9306987a0865be9017fc520dca1e9649d5b";
|
2019-10-31 07:19:05 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ jinja2 requests pillow rasterio shapely ];
|
|
|
|
|
|
|
|
# Test cases are not running on pypi or GitHub
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/Labelbox/Labelbox";
|
2019-10-31 07:19:05 +00:00
|
|
|
description = "Platform API for LabelBox";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ rakesh4g ];
|
|
|
|
};
|
|
|
|
}
|