python3Packages.tautulli: fix build by removing unused import (#461834)
This commit is contained in:
@@ -6,15 +6,13 @@
|
|||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
pytest-asyncio,
|
pytest-asyncio,
|
||||||
pytestCheckHook,
|
pytestCheckHook,
|
||||||
pythonOlder,
|
setuptools,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pytautulli";
|
pname = "pytautulli";
|
||||||
version = "23.1.1";
|
version = "23.1.1";
|
||||||
format = "setuptools";
|
pyproject = true;
|
||||||
|
|
||||||
disabled = pythonOlder "3.8";
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "ludeeus";
|
owner = "ludeeus";
|
||||||
@@ -32,9 +30,15 @@ buildPythonPackage rec {
|
|||||||
# yarl 1.9.4 requires ports to be ints
|
# yarl 1.9.4 requires ports to be ints
|
||||||
substituteInPlace pytautulli/models/host_configuration.py \
|
substituteInPlace pytautulli/models/host_configuration.py \
|
||||||
--replace-fail "str(self.port)" "int(self.port)"
|
--replace-fail "str(self.port)" "int(self.port)"
|
||||||
|
|
||||||
|
# https://github.com/ludeeus/pytautulli/pull/44
|
||||||
|
substituteInPlace pytautulli/decorator.py \
|
||||||
|
--replace-fail "import async_timeout" ""
|
||||||
'';
|
'';
|
||||||
|
|
||||||
propagatedBuildInputs = [ aiohttp ];
|
build-system = [ setuptools ];
|
||||||
|
|
||||||
|
dependencies = [ aiohttp ];
|
||||||
|
|
||||||
nativeCheckInputs = [ pytestCheckHook ];
|
nativeCheckInputs = [ pytestCheckHook ];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user