32 lines
648 B
Nix
32 lines
648 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, requests
|
|
, jinja2
|
|
, pillow
|
|
, rasterio
|
|
, shapely
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "labelbox";
|
|
version = "2.4";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "cb1c5adfbdc76560bed57d44f272f9306987a0865be9017fc520dca1e9649d5b";
|
|
};
|
|
|
|
propagatedBuildInputs = [ jinja2 requests pillow rasterio shapely ];
|
|
|
|
# Test cases are not running on pypi or GitHub
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/Labelbox/Labelbox";
|
|
description = "Platform API for LabelBox";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ rakesh4g ];
|
|
};
|
|
}
|