Loading pkgs/development/python-modules/directv/default.nix +19 −7 Original line number Diff line number Diff line Loading @@ -2,6 +2,7 @@ lib, buildPythonPackage, fetchFromGitHub, setuptools, aiohttp, yarl, aresponses, Loading @@ -12,16 +13,24 @@ buildPythonPackage rec { pname = "directv"; version = "0.4.0"; format = "setuptools"; pyproject = true; src = fetchFromGitHub { owner = "ctalkington"; repo = "python-directv"; rev = version; sha256 = "19jckf6qvl8fwi8yff1qy8c44xdz3zpi1ip1md6zl2c503qc91mk"; tag = version; hash = "sha256-s4bE8ACFCfpNq+HGEO8fv3VCGPI4OOdR5A7RjY2bTKY="; }; propagatedBuildInputs = [ postPatch = '' # TypeError: 'Timeout' object does not support the context manager protocol substituteInPlace directv/directv.py \ --replace-fail "with async_timeout.timeout" "async with async_timeout.timeout" ''; build-system = [ setuptools ]; dependencies = [ aiohttp yarl ]; Loading @@ -32,6 +41,8 @@ buildPythonPackage rec { pytestCheckHook ]; __darwinAllowLocalNetworking = true; disabledTests = [ # ValueError: Host '#' cannot contain '#' (at position 0) "test_client_error" Loading @@ -39,10 +50,11 @@ buildPythonPackage rec { pythonImportsCheck = [ "directv" ]; meta = with lib; { meta = { changelog = "https://github.com/ctalkington/python-directv/releases/tag/${src.tag}"; description = "Asynchronous Python client for DirecTV (SHEF)"; homepage = "https://github.com/ctalkington/python-directv"; license = licenses.mit; maintainers = with maintainers; [ dotlambda ]; license = lib.licenses.mit; maintainers = with lib.maintainers; [ dotlambda ]; }; } Loading
pkgs/development/python-modules/directv/default.nix +19 −7 Original line number Diff line number Diff line Loading @@ -2,6 +2,7 @@ lib, buildPythonPackage, fetchFromGitHub, setuptools, aiohttp, yarl, aresponses, Loading @@ -12,16 +13,24 @@ buildPythonPackage rec { pname = "directv"; version = "0.4.0"; format = "setuptools"; pyproject = true; src = fetchFromGitHub { owner = "ctalkington"; repo = "python-directv"; rev = version; sha256 = "19jckf6qvl8fwi8yff1qy8c44xdz3zpi1ip1md6zl2c503qc91mk"; tag = version; hash = "sha256-s4bE8ACFCfpNq+HGEO8fv3VCGPI4OOdR5A7RjY2bTKY="; }; propagatedBuildInputs = [ postPatch = '' # TypeError: 'Timeout' object does not support the context manager protocol substituteInPlace directv/directv.py \ --replace-fail "with async_timeout.timeout" "async with async_timeout.timeout" ''; build-system = [ setuptools ]; dependencies = [ aiohttp yarl ]; Loading @@ -32,6 +41,8 @@ buildPythonPackage rec { pytestCheckHook ]; __darwinAllowLocalNetworking = true; disabledTests = [ # ValueError: Host '#' cannot contain '#' (at position 0) "test_client_error" Loading @@ -39,10 +50,11 @@ buildPythonPackage rec { pythonImportsCheck = [ "directv" ]; meta = with lib; { meta = { changelog = "https://github.com/ctalkington/python-directv/releases/tag/${src.tag}"; description = "Asynchronous Python client for DirecTV (SHEF)"; homepage = "https://github.com/ctalkington/python-directv"; license = licenses.mit; maintainers = with maintainers; [ dotlambda ]; license = lib.licenses.mit; maintainers = with lib.maintainers; [ dotlambda ]; }; }