13 buildPythonPackage rec {
14 pname = "pycarwings2";
16 format = "setuptools";
18 disabled = pythonOlder "3.5";
20 src = fetchFromGitHub {
24 hash = "sha256-kqj/NZXqgPUsOnnzMPmIlICHek7RBxksmL3reNBK+bo=";
27 propagatedBuildInputs = [
34 nativeCheckInputs = [ pytestCheckHook ];
37 substituteInPlace setup.py \
38 --replace "'pytest-runner'" ""
39 substituteInPlace setup.cfg \
40 --replace " --flake8 --cov=pycarwings2 --cache-clear --ignore=venv --verbose" ""
44 # Test requires network access
48 pythonImportsCheck = [ "pycarwings2" ];
51 description = "Python library for interacting with the NissanConnect EV";
52 homepage = "https://github.com/filcole/pycarwings2";
53 changelog = "https://github.com/filcole/pycarwings2/releases/tag/v${version}";
54 license = licenses.asl20;
55 maintainers = with maintainers; [ fab ];