Loading pkgs/development/python-modules/stravalib/default.nix +18 −20 Original line number Diff line number Diff line { lib , arrow , buildPythonPackage , fetchPypi , nose , setuptools , setuptools-scm , wheel , arrow , requests , units , pint , pydantic , pythonOlder , pytz , six , requests , responses , setuptools , setuptools-scm }: buildPythonPackage rec { pname = "stravalib"; version = "1.5"; format = "pyproject"; pyproject = true; disabled = pythonOlder "3.9"; src = fetchPypi { inherit pname version; Loading @@ -27,31 +27,29 @@ buildPythonPackage rec { nativeBuildInputs = [ setuptools setuptools-scm wheel ]; nativeCheckInputs = [ nose ]; propagatedBuildInputs = [ arrow requests units pint pydantic pytz six requests responses ]; # tests require network access # testing strava api # Tests require network access, testing strava API doCheck = false; pythonImportsCheck = [ "stravalib" ]; meta = with lib; { description = "Python library for interacting with Strava v3 REST API"; homepage = "https://github.com/stravalib/stravalib"; changelog = "https://github.com/stravalib/stravalib/releases/tag/v${version}"; license = licenses.asl20; maintainers = [ ]; maintainers = with maintainers; [ ]; }; } Loading
pkgs/development/python-modules/stravalib/default.nix +18 −20 Original line number Diff line number Diff line { lib , arrow , buildPythonPackage , fetchPypi , nose , setuptools , setuptools-scm , wheel , arrow , requests , units , pint , pydantic , pythonOlder , pytz , six , requests , responses , setuptools , setuptools-scm }: buildPythonPackage rec { pname = "stravalib"; version = "1.5"; format = "pyproject"; pyproject = true; disabled = pythonOlder "3.9"; src = fetchPypi { inherit pname version; Loading @@ -27,31 +27,29 @@ buildPythonPackage rec { nativeBuildInputs = [ setuptools setuptools-scm wheel ]; nativeCheckInputs = [ nose ]; propagatedBuildInputs = [ arrow requests units pint pydantic pytz six requests responses ]; # tests require network access # testing strava api # Tests require network access, testing strava API doCheck = false; pythonImportsCheck = [ "stravalib" ]; meta = with lib; { description = "Python library for interacting with Strava v3 REST API"; homepage = "https://github.com/stravalib/stravalib"; changelog = "https://github.com/stravalib/stravalib/releases/tag/v${version}"; license = licenses.asl20; maintainers = [ ]; maintainers = with maintainers; [ ]; }; }