Loading pkgs/development/python-modules/weconnect/default.nix +8 −5 Original line number Diff line number Diff line Loading @@ -5,6 +5,7 @@ fetchFromGitHub, oauthlib, pillow, pytest-cov-stub, pytestCheckHook, pythonOlder, requests, Loading Loading @@ -32,13 +33,12 @@ buildPythonPackage rec { --replace-fail "setup_requires=SETUP_REQUIRED" "setup_requires=[]" \ --replace-fail "tests_require=TEST_REQUIRED" "tests_require=[]" substituteInPlace pytest.ini \ --replace-fail "--cov=weconnect --cov-config=.coveragerc --cov-report html" "" \ --replace-fail "required_plugins = pytest-cov" "" ''; nativeBuildInputs = [ setuptools ]; build-system = [ setuptools ]; propagatedBuildInputs = [ dependencies = [ oauthlib requests ]; Loading @@ -50,7 +50,10 @@ buildPythonPackage rec { ]; }; nativeCheckInputs = [ pytestCheckHook ]; nativeCheckInputs = [ pytest-cov-stub pytestCheckHook ]; pythonImportsCheck = [ "weconnect" ]; Loading @@ -58,7 +61,7 @@ buildPythonPackage rec { description = "Python client for the Volkswagen WeConnect Services"; homepage = "https://github.com/tillsteinbach/WeConnect-python"; changelog = "https://github.com/tillsteinbach/WeConnect-python/releases/tag/v${version}"; license = with licenses; [ mit ]; license = licenses.mit; maintainers = with maintainers; [ fab ]; }; } Loading
pkgs/development/python-modules/weconnect/default.nix +8 −5 Original line number Diff line number Diff line Loading @@ -5,6 +5,7 @@ fetchFromGitHub, oauthlib, pillow, pytest-cov-stub, pytestCheckHook, pythonOlder, requests, Loading Loading @@ -32,13 +33,12 @@ buildPythonPackage rec { --replace-fail "setup_requires=SETUP_REQUIRED" "setup_requires=[]" \ --replace-fail "tests_require=TEST_REQUIRED" "tests_require=[]" substituteInPlace pytest.ini \ --replace-fail "--cov=weconnect --cov-config=.coveragerc --cov-report html" "" \ --replace-fail "required_plugins = pytest-cov" "" ''; nativeBuildInputs = [ setuptools ]; build-system = [ setuptools ]; propagatedBuildInputs = [ dependencies = [ oauthlib requests ]; Loading @@ -50,7 +50,10 @@ buildPythonPackage rec { ]; }; nativeCheckInputs = [ pytestCheckHook ]; nativeCheckInputs = [ pytest-cov-stub pytestCheckHook ]; pythonImportsCheck = [ "weconnect" ]; Loading @@ -58,7 +61,7 @@ buildPythonPackage rec { description = "Python client for the Volkswagen WeConnect Services"; homepage = "https://github.com/tillsteinbach/WeConnect-python"; changelog = "https://github.com/tillsteinbach/WeConnect-python/releases/tag/v${version}"; license = with licenses; [ mit ]; license = licenses.mit; maintainers = with maintainers; [ fab ]; }; }