depot/third_party/nixpkgs/pkgs/development/python-modules/labelbox/default.nix
Default email 78efc47b99 Project import generated by Copybara.
GitOrigin-RevId: 83cbad92d73216bb0d9187c56cce0b91f9121d5a
2020-12-07 07:45:13 +00:00

39 lines
765 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, requests
, jinja2
, pillow
, rasterio
, shapely
, ndjson
, backoff
, google_api_core
}:
buildPythonPackage rec {
pname = "labelbox";
version = "2.4.9";
src = fetchPypi {
inherit pname version;
sha256 = "488fb0b2233738c3bba3d3bf67b941f105553b7286cca3099ac0120dd247bd84";
};
propagatedBuildInputs = [
jinja2 requests pillow rasterio shapely ndjson backoff
google_api_core
];
# Test cases are not running on pypi or GitHub
doCheck = false;
pythonImportsCheck = [ "labelbox" ];
meta = with lib; {
homepage = "https://github.com/Labelbox/Labelbox";
description = "Platform API for LabelBox";
license = licenses.asl20;
maintainers = with maintainers; [ rakesh4g ];
};
}