Merge pull request #161684 from dotlambda/volvooncall-init

This commit is contained in:
Martin Weinelt 2022-02-24 18:01:09 +01:00 committed by GitHub
commit 86fa4eeeb8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 60 additions and 1 deletions

View file

@ -0,0 +1,57 @@
{ lib
, buildPythonPackage
, pythonOlder
, fetchFromGitHub
, setuptools
, geopy
, docopt
, pyyaml
, certifi
, amqtt
, websockets
, aiohttp
, pytestCheckHook
, asynctest
, pytest-asyncio
}:
buildPythonPackage rec {
pname = "volvooncall";
version = "0.9.2";
disabled = pythonOlder "3.8";
format = "setuptools";
src = fetchFromGitHub {
owner = "molobrakos";
repo = "volvooncall";
rev = "v${version}";
hash = "sha256-OTs282z7qzILl/xxM3whaxiQr8FZOfgceO2EY3NJKbA=";
};
propagatedBuildInputs = [
geopy
docopt
pyyaml
certifi
amqtt
websockets
aiohttp
];
checkInputs = [
pytestCheckHook
asynctest
pytest-asyncio
];
pythonImportsCheck = [ "volvooncall" ];
meta = with lib; {
description = "Retrieve information from the Volvo On Call web service";
homepage = "https://github.com/molobrakos/volvooncall";
license = licenses.unlicense;
maintainers = with maintainers; [ dotlambda ];
};
}

View file

@ -967,7 +967,7 @@
"voicerss" = ps: with ps; [ ];
"volkszaehler" = ps: with ps; [ volkszaehler ];
"volumio" = ps: with ps; [ pyvolumio ];
"volvooncall" = ps: with ps; [ ]; # missing inputs: volvooncall
"volvooncall" = ps: with ps; [ volvooncall ];
"vultr" = ps: with ps; [ vultr ];
"w800rf32" = ps: with ps; [ ]; # missing inputs: pyW800rf32
"wake_on_lan" = ps: with ps; [ wakeonlan ];

View file

@ -10435,6 +10435,8 @@ in {
voluptuous-serialize = callPackage ../development/python-modules/voluptuous-serialize { };
volvooncall = callPackage ../development/python-modules/volvooncall { };
vowpalwabbit = callPackage ../development/python-modules/vowpalwabbit { };
vpk = callPackage ../development/python-modules/vpk { };