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

40 lines
832 B
Nix
Raw Normal View History

2019-10-31 08:19:05 +01:00
{ lib
, buildPythonPackage
, fetchPypi
, requests
, jinja2
, pillow
, rasterio
, shapely
2020-11-19 01:09:49 +01:00
, ndjson
, backoff
, google-api-core
, backports-datetime-fromisoformat
2019-10-31 08:19:05 +01:00
}:
buildPythonPackage rec {
pname = "labelbox";
version = "2.4.9";
2019-10-31 08:19:05 +01:00
src = fetchPypi {
inherit pname version;
sha256 = "488fb0b2233738c3bba3d3bf67b941f105553b7286cca3099ac0120dd247bd84";
2019-10-31 08:19:05 +01:00
};
2020-11-19 01:09:49 +01:00
propagatedBuildInputs = [
jinja2 requests pillow rasterio shapely ndjson backoff
google-api-core backports-datetime-fromisoformat
2020-11-19 01:09:49 +01:00
];
2019-10-31 08:19:05 +01:00
# Test cases are not running on pypi or GitHub
2020-08-25 04:07:09 +02:00
doCheck = false;
2020-11-19 01:09:49 +01:00
pythonImportsCheck = [ "labelbox" ];
2019-10-31 08:19:05 +01:00
meta = with lib; {
homepage = "https://github.com/Labelbox/Labelbox";
2019-10-31 08:19:05 +01:00
description = "Platform API for LabelBox";
license = licenses.asl20;
maintainers = with maintainers; [ rakesh4g ];
};
}