13 buildPythonPackage rec {
14 pname = "skodaconnect";
16 format = "setuptools";
18 disabled = pythonOlder "3.8";
20 src = fetchFromGitHub {
23 rev = "refs/tags/${version}";
24 hash = "sha256-zuS19oM3V+o0yiby6yOX2RSxXY3m5qhqjlX2v9jmpIk=";
27 SETUPTOOLS_SCM_PRETEND_VERSION = version;
33 propagatedBuildInputs = [
42 substituteInPlace setup.py \
43 --replace "'pytest>=5,<6'," ""
44 substituteInPlace requirements.txt \
45 --replace "pytest-asyncio" ""
48 # Project has no tests
51 pythonImportsCheck = [
56 description = "Python module to communicate with Skoda Connect";
57 homepage = "https://github.com/lendy007/skodaconnect";
58 license = with licenses; [ asl20 ];
59 maintainers = with maintainers; [ fab ];