18 buildPythonPackage rec {
19 pname = "volvooncall";
21 format = "setuptools";
23 disabled = pythonOlder "3.10";
25 src = fetchFromGitHub {
28 rev = "refs/tags/v${version}";
29 hash = "sha256-xr3g93rt3jvxVZrZY7cFh5eBP3k0arsejsgvx8p5EV4=";
33 # Remove asynctest, https://github.com/molobrakos/volvooncall/pull/92
35 name = "remove-asnyc.patch";
36 url = "https://github.com/molobrakos/volvooncall/commit/ef0df403250288c00ed4c600e9dfa79dcba8941e.patch";
37 hash = "sha256-U+hM7vzD9JSEUumvjPSLpVQcc8jAuZHG3/1dQ3wnIcA=";
41 propagatedBuildInputs = [
45 passthru.optional-dependencies = {
61 ] ++ passthru.optional-dependencies.mqtt;
63 pythonImportsCheck = [
68 description = "Retrieve information from the Volvo On Call web service";
69 homepage = "https://github.com/molobrakos/volvooncall";
70 changelog = "https://github.com/molobrakos/volvooncall/releases/tag/v${version}";
71 license = licenses.unlicense;
73 maintainers = with maintainers; [ dotlambda ];