2019-10-31 07:19:05 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, requests
|
|
|
|
, jinja2
|
|
|
|
, pillow
|
|
|
|
, rasterio
|
|
|
|
, shapely
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "labelbox";
|
2020-08-16 18:31:06 +01:00
|
|
|
version = "2.4.4";
|
2019-10-31 07:19:05 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-08-16 18:31:06 +01:00
|
|
|
sha256 = "a455ae30ccb9328731fca7f7f4cefaa7da69a2fe3e43d1b742bae5ff4693c695";
|
2019-10-31 07:19:05 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ jinja2 requests pillow rasterio shapely ];
|
|
|
|
|
|
|
|
# Test cases are not running on pypi or GitHub
|
2020-08-25 03:07:09 +01:00
|
|
|
doCheck = false;
|
2019-10-31 07:19:05 +00:00
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|