Loading pkgs/development/python-modules/labelbox/default.nix +26 −8 Original line number Diff line number Diff line Loading @@ -20,7 +20,6 @@ pytest-xdist, pytestCheckHook, python-dateutil, pythonOlder, requests, shapely, strenum, Loading @@ -29,13 +28,10 @@ typing-extensions, }: buildPythonPackage rec { pname = "labelbox"; let version = "6.6.0"; pyproject = true; disabled = pythonOlder "3.8"; src = fetchFromGitHub { owner = "Labelbox"; repo = "labelbox-python"; Loading @@ -43,6 +39,27 @@ buildPythonPackage rec { hash = "sha256-aMJJZ9ONnjFK/J4pyLTFQox/cC8ij85IYNlJTFrfV2I="; }; lbox-clients = buildPythonPackage { inherit src version pyproject; pname = "lbox-clients"; sourceRoot = "${src.name}/libs/lbox-clients"; build-system = [ hatchling ]; dependencies = [ google-api-core requests ]; }; in buildPythonPackage rec { inherit src version pyproject; pname = "labelbox"; sourceRoot = "${src.name}/libs/labelbox"; pythonRelaxDeps = [ Loading @@ -54,6 +71,7 @@ buildPythonPackage rec { dependencies = [ google-api-core lbox-clients pydantic python-dateutil requests Loading Loading @@ -97,11 +115,11 @@ buildPythonPackage rec { pythonImportsCheck = [ "labelbox" ]; meta = with lib; { meta = { description = "Platform API for LabelBox"; homepage = "https://github.com/Labelbox/labelbox-python"; changelog = "https://github.com/Labelbox/labelbox-python/releases/tag/v.${src.tag}"; license = licenses.asl20; maintainers = with maintainers; [ rakesh4g ]; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ rakesh4g ]; }; } Loading
pkgs/development/python-modules/labelbox/default.nix +26 −8 Original line number Diff line number Diff line Loading @@ -20,7 +20,6 @@ pytest-xdist, pytestCheckHook, python-dateutil, pythonOlder, requests, shapely, strenum, Loading @@ -29,13 +28,10 @@ typing-extensions, }: buildPythonPackage rec { pname = "labelbox"; let version = "6.6.0"; pyproject = true; disabled = pythonOlder "3.8"; src = fetchFromGitHub { owner = "Labelbox"; repo = "labelbox-python"; Loading @@ -43,6 +39,27 @@ buildPythonPackage rec { hash = "sha256-aMJJZ9ONnjFK/J4pyLTFQox/cC8ij85IYNlJTFrfV2I="; }; lbox-clients = buildPythonPackage { inherit src version pyproject; pname = "lbox-clients"; sourceRoot = "${src.name}/libs/lbox-clients"; build-system = [ hatchling ]; dependencies = [ google-api-core requests ]; }; in buildPythonPackage rec { inherit src version pyproject; pname = "labelbox"; sourceRoot = "${src.name}/libs/labelbox"; pythonRelaxDeps = [ Loading @@ -54,6 +71,7 @@ buildPythonPackage rec { dependencies = [ google-api-core lbox-clients pydantic python-dateutil requests Loading Loading @@ -97,11 +115,11 @@ buildPythonPackage rec { pythonImportsCheck = [ "labelbox" ]; meta = with lib; { meta = { description = "Platform API for LabelBox"; homepage = "https://github.com/Labelbox/labelbox-python"; changelog = "https://github.com/Labelbox/labelbox-python/releases/tag/v.${src.tag}"; license = licenses.asl20; maintainers = with maintainers; [ rakesh4g ]; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ rakesh4g ]; }; }