depot/third_party/nixpkgs/pkgs/development/python-modules/labelbox/default.nix
Default email a944afd061 Project import generated by Copybara.
GitOrigin-RevId: 2247d824fe07f16325596acc7faa286502faffd1
2020-11-21 20:51:51 +01: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.6";
src = fetchPypi {
inherit pname version;
sha256 = "2be6c03dafce0a786cfab5d120196efccaf300cab5aee4d2fdad644b7bee1aef";
};
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 ];
};
}