nixpkgs/pkgs/development/python-modules/labelbox/default.nix

40 lines
765 B
Nix
Raw Normal View History

2019-10-31 00:19:05 -07:00
{ lib
, buildPythonPackage
, fetchPypi
, requests
, jinja2
, pillow
, rasterio
, shapely
2020-11-18 16:09:49 -08:00
, ndjson
, backoff
, google_api_core
2019-10-31 00:19:05 -07:00
}:
buildPythonPackage rec {
pname = "labelbox";
version = "2.4.6";
2019-10-31 00:19:05 -07:00
src = fetchPypi {
inherit pname version;
sha256 = "2be6c03dafce0a786cfab5d120196efccaf300cab5aee4d2fdad644b7bee1aef";
2019-10-31 00:19:05 -07:00
};
2020-11-18 16:09:49 -08:00
propagatedBuildInputs = [
jinja2 requests pillow rasterio shapely ndjson backoff
google_api_core
];
2019-10-31 00:19:05 -07:00
# Test cases are not running on pypi or GitHub
2020-08-24 19:07:09 -07:00
doCheck = false;
2019-10-31 00:19:05 -07:00
2020-11-18 16:09:49 -08:00
pythonImportsCheck = [ "labelbox" ];
2019-10-31 00:19:05 -07:00
meta = with lib; {
homepage = "https://github.com/Labelbox/Labelbox";
2019-10-31 00:19:05 -07:00
description = "Platform API for LabelBox";
license = licenses.asl20;
maintainers = with maintainers; [ rakesh4g ];
};
}