28 buildPythonPackage rec {
33 disabled = pythonOlder "3.8";
35 src = fetchFromGitHub {
37 repo = "labelbox-python";
38 rev = "refs/tags/v.${version}";
39 hash = "sha256-JQTjmYxPBS8JC4HQTtbQ7hb80LPLYE4OEj1lFA6cZ1Y=";
43 substituteInPlace pytest.ini \
44 --replace-fail "--reruns 2 --reruns-delay 10 --durations=20 -n 10" ""
46 # disable pytest_plugins which requires `pygeotile`
47 substituteInPlace tests/conftest.py \
48 --replace-fail "pytest_plugins" "_pytest_plugins"
72 optional-dependencies = {
92 ] ++ optional-dependencies.data;
95 # Requires network access
97 # Missing requirements
101 pythonImportsCheck = [
106 description = "Platform API for LabelBox";
107 homepage = "https://github.com/Labelbox/labelbox-python";
108 changelog = "https://github.com/Labelbox/labelbox-python/blob/v.${version}/CHANGELOG.md";
109 license = licenses.asl20;
110 maintainers = with maintainers; [ rakesh4g ];